summaryrefslogtreecommitdiff
path: root/libbb/signals.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/signals.c')
-rw-r--r--libbb/signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/signals.c b/libbb/signals.c
index 685c552..1342c89 100644
--- a/libbb/signals.c
+++ b/libbb/signals.c
@@ -89,7 +89,7 @@ void kill_myself_with_sig(int sig)
signal(sig, SIG_DFL);
sig_unblock(sig);
raise(sig);
- _exit(1); /* Should not reach it */
+ _exit(EXIT_FAILURE); /* Should not reach it */
}
void signal_SA_RESTART_empty_mask(int sig, void (*handler)(int))