]> git.samba.org - obnox/samba/samba-obnox.git/commitdiff
selftest: Avoid being run over by armies of the undead
authorAndrew Bartlett <abartlet@samba.org>
Tue, 26 Jul 2011 07:04:40 +0000 (17:04 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 29 Jul 2011 02:24:07 +0000 (04:24 +0200)
Ignore SIGCHILD to reap zombies

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
selftest/selftest.pl

index 78627c8eb660f882ddc819e4ba5eb3400d1d397e..5cbb6866f6ea0f0ba16b728079b2b702c4cbfd5f 100755 (executable)
@@ -176,6 +176,8 @@ sub pipe_handler {
 
 $SIG{PIPE} = \&pipe_handler;
 
+$SIG{CHILD} = 'IGNORE';
+
 sub find_in_list($$)
 {
        my ($list, $fullname) = @_;