aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-05 20:57:10 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-05 20:57:10 +0000
commit5f42d2686559e8c14a08fce59fbbb0e77e584d7a (patch)
tree9ddb8e624f7dc2206b6d8b4d8ca89b35bea22eab /networking
parent29fe7265b8c1917ebc03283f22a3eb61e9195979 (diff)
downloadbusybox-5f42d2686559e8c14a08fce59fbbb0e77e584d7a.tar.gz
nc: missed exit() in signal handler
Diffstat (limited to 'networking')
-rw-r--r--networking/nc_bloaty.c1
1 files changed, 1 insertions, 0 deletions
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 */