From 2b47aface434000b29aa29f4ff6348cc147ae757 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 26 Jul 2011 17:04:40 +1000 Subject: selftest: Avoid being run over by armies of the undead Ignore SIGCHILD to reap zombies Andrew Bartlett Signed-off-by: Andrew Tridgell --- selftest/selftest.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'selftest/selftest.pl') diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 78627c8eb6..5cbb6866f6 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -176,6 +176,8 @@ sub pipe_handler { $SIG{PIPE} = \&pipe_handler; +$SIG{CHILD} = 'IGNORE'; + sub find_in_list($$) { my ($list, $fullname) = @_; -- cgit