From: Denis Vlasenko Date: Thu, 5 Apr 2007 20:57:10 +0000 (-0000) Subject: nc: missed exit() in signal handler X-Git-Tag: 1_6_0~237 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5f42d2686559e8c14a08fce59fbbb0e77e584d7a;p=oweals%2Fbusybox.git nc: missed exit() in signal handler --- diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c index 260d2057a..ca5dd1bf7 100644 --- a/networking/nc_bloaty.c +++ b/networking/nc_bloaty.c @@ -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 */