nc: missed exit() in signal handler

This commit is contained in:
Denis Vlasenko 2007-04-05 20:57:10 +00:00
parent 29fe7265b8
commit 5f42d26865

View File

@ -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 */