diff options
author | Rob Landley <rob@landley.net> | 2020-05-06 22:24:11 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-05-06 22:24:11 -0500 |
commit | 9c6a08e1c36fb7f3b056cc24581cc5467d81ad12 (patch) | |
tree | 4023f47e60fb488a44af81f73e0929f1b8297f01 /toys | |
parent | 23ef31e6e9a2b625fd27a1dd54b23ae097d03efc (diff) | |
download | toybox-9c6a08e1c36fb7f3b056cc24581cc5467d81ad12.tar.gz |
Kill zombies.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/net/netcat.c | 1 |
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 |