aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-05-06 22:24:11 -0500
committerRob Landley <rob@landley.net>2020-05-06 22:24:11 -0500
commit9c6a08e1c36fb7f3b056cc24581cc5467d81ad12 (patch)
tree4023f47e60fb488a44af81f73e0929f1b8297f01 /toys
parent23ef31e6e9a2b625fd27a1dd54b23ae097d03efc (diff)
downloadtoybox-9c6a08e1c36fb7f3b056cc24581cc5467d81ad12.tar.gz
Kill zombies.
Diffstat (limited to 'toys')
-rw-r--r--toys/net/netcat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/net/netcat.c b/toys/net/netcat.c
index 1729bd50..e8bee37a 100644
--- a/toys/net/netcat.c
+++ b/toys/net/netcat.c
@@ -101,6 +101,7 @@ void netcat_main(void)
TT.W = TT.W ? TT.W*1000 : -1;
TT.q = TT.q ? TT.q*1000 : -1;
+ xsignal(SIGCHLD, SIG_IGN);
set_alarm(TT.w);
// The argument parsing logic can't make "<2" conditional on other