We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87a19b8 commit b93f6e5Copy full SHA for b93f6e5
common/daemon.c
@@ -32,6 +32,9 @@ void send_backtrace(const char *why)
32
if (backtrace_state)
33
backtrace_print(backtrace_state, 0, stderr);
34
35
+ if (!bt_print)
36
+ return;
37
+
38
/* Now send to parent. */
39
bt_print("%s (version %s)", why, version());
40
@@ -75,7 +78,8 @@ static void crashdump(int sig)
75
78
send_backtrace(why);
76
79
77
80
/* Probably shouldn't return. */
- bt_exit();
81
+ if (bt_exit)
82
+ bt_exit();
83
84
/* This time it will kill us instantly. */
85
kill(getpid(), sig);
0 commit comments