Skip to content

Commit

Permalink
Change a return back to an _exit(1). It's not different functionally …
Browse files Browse the repository at this point in the history
…but I decided it's more clear.
  • Loading branch information
jeremy-rifkin committed Nov 15, 2024
1 parent d43318a commit 6945c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/signal-safe-tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void do_signal_safe_trace(cpptrace::frame_ptr* buffer, std::size_t count) {
const char* exec_failure_message = "exec(signal_tracer) failed: Make sure the signal_tracer executable is in "
"the current working directory and the binary's permissions are correct.\n";
write(STDERR_FILENO, exec_failure_message, strlen(exec_failure_message));
return;
_exit(1);
}
// Resolve to safe_object_frames and write those to the pipe
for(std::size_t i = 0; i < count; i++) {
Expand Down

0 comments on commit 6945c21

Please sign in to comment.