less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1)
*: minor shrink
This commit is contained in:
@@ -68,7 +68,7 @@ static void sig_term_handler(int sig)
|
||||
{
|
||||
if (verbose)
|
||||
printf("%s: info: sigterm received, exit\n", applet_name);
|
||||
exit(0);
|
||||
kill_myself_with_sig(sig);
|
||||
}
|
||||
|
||||
/* Little bloated, but tries to give accurate info how child exited.
|
||||
|
||||
Reference in New Issue
Block a user