less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1)
*: minor shrink
This commit is contained in:
@@ -163,7 +163,7 @@ static void catch(int sig)
|
||||
if (o_verbose > 1) /* normally we don't care */
|
||||
fprintf(stderr, SENT_N_RECV_M, wrote_net, wrote_out);
|
||||
fprintf(stderr, "punt!\n");
|
||||
exit(1);
|
||||
kill_myself_with_sig(sig);
|
||||
}
|
||||
|
||||
/* unarm */
|
||||
|
||||
Reference in New Issue
Block a user