diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-24 13:36:01 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-24 13:36:01 +0000 |
commit | 400d8bb45ee25ce226bb343a3dfaab84e6d3a8e1 (patch) | |
tree | aa3cdc9a663f1ac2467803fc215899d86ed1db74 /ipsvd | |
parent | d553faf5a53cf9d72e16fc789451a92a797f1b70 (diff) | |
download | busybox-w32-400d8bb45ee25ce226bb343a3dfaab84e6d3a8e1.tar.gz busybox-w32-400d8bb45ee25ce226bb343a3dfaab84e6d3a8e1.tar.bz2 busybox-w32-400d8bb45ee25ce226bb343a3dfaab84e6d3a8e1.zip |
less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1)
*: minor shrink
Diffstat (limited to 'ipsvd')
-rw-r--r-- | ipsvd/tcpudp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsvd/tcpudp.c b/ipsvd/tcpudp.c index dc61d6f76..b3a2c7a77 100644 --- a/ipsvd/tcpudp.c +++ b/ipsvd/tcpudp.c | |||
@@ -68,7 +68,7 @@ static void sig_term_handler(int sig) | |||
68 | { | 68 | { |
69 | if (verbose) | 69 | if (verbose) |
70 | printf("%s: info: sigterm received, exit\n", applet_name); | 70 | printf("%s: info: sigterm received, exit\n", applet_name); |
71 | exit(0); | 71 | kill_myself_with_sig(sig); |
72 | } | 72 | } |
73 | 73 | ||
74 | /* Little bloated, but tries to give accurate info how child exited. | 74 | /* Little bloated, but tries to give accurate info how child exited. |