mirror of https://github.com/mirror/busybox.git
nc: missed exit() in signal handler
parent
29fe7265b8
commit
5f42d26865
|
@ -154,6 +154,7 @@ static void catch(int sig)
|
||||||
if (o_verbose > 1) /* normally we don't care */
|
if (o_verbose > 1) /* normally we don't care */
|
||||||
fprintf(stderr, SENT_N_RECV_M, wrote_net, wrote_out);
|
fprintf(stderr, SENT_N_RECV_M, wrote_net, wrote_out);
|
||||||
fprintf(stderr, "punt!\n");
|
fprintf(stderr, "punt!\n");
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* timeout and other signal handling cruft */
|
/* timeout and other signal handling cruft */
|
||||||
|
|
Loading…
Reference in New Issue