mirror of
https://github.com/sheumann/hush.git
synced 2024-10-27 23:26:30 +00:00
nc: missed exit() in signal handler
This commit is contained in:
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
Block a user