summaryrefslogtreecommitdiff
path: root/libbb/signals.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-05-19 09:29:47 +0000
committerBernhard Reutner-Fischer2008-05-19 09:29:47 +0000
commit636a1f85e89432601c59cdc3239fc867b4adf051 (patch)
treed43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /libbb/signals.c
parentcb83abd7b6b052224c1f3b998e863aac76914afd (diff)
downloadbusybox-636a1f85e89432601c59cdc3239fc867b4adf051.zip
busybox-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
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))