aboutsummaryrefslogtreecommitdiff
path: root/toys/net
diff options
context:
space:
mode:
Diffstat (limited to 'toys/net')
-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