summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-26 17:04:40 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-29 04:24:07 +0200
commit2b47aface434000b29aa29f4ff6348cc147ae757 (patch)
treeb97ca95634e57fe7d5d68cffa32aed6d23ab8761 /selftest
parentb782b5ed7c7a59fc60845c776c81cfcc56fdfda6 (diff)
downloadsamba-2b47aface434000b29aa29f4ff6348cc147ae757.tar.gz
samba-2b47aface434000b29aa29f4ff6348cc147ae757.tar.bz2
samba-2b47aface434000b29aa29f4ff6348cc147ae757.zip
selftest: Avoid being run over by armies of the undead
Ignore SIGCHILD to reap zombies Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/selftest.pl2
1 files changed, 2 insertions, 0 deletions
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) = @_;