nc: missed exit() in signal handler
This commit is contained in:
1 parent
29fe7265b8
commit
5f42d26865
1 file changed
+1
@@ -154,6 +154,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);
|
||||
}
|
||||
|
||||
/* timeout and other signal handling cruft */
|
||||
|
||||
Reference in new issue
Block a user