From 3236024ce1d2ddd4dd04a870f8703afe83fc5c58 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 5 Nov 2009 01:07:09 +0100 Subject: [PATCH] taskd: Reset SIGCHLD handler in children --- taskd/taskd.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/taskd/taskd.pl b/taskd/taskd.pl index fc5a27c..968a2fc 100755 --- a/taskd/taskd.pl +++ b/taskd/taskd.pl @@ -73,6 +73,8 @@ sub spawn { logmsg "begat $pid"; return; # I'm the parent } + + $SIG{CHLD} = 'DEFAULT'; open STDIN, "<&Client" or die "can't dup client to stdin"; open STDOUT, ">&Client" or die "can't dup client to stdout"; -- 2.11.4.GIT