diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-26 17:04:40 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-29 04:24:07 +0200 |
commit | 2b47aface434000b29aa29f4ff6348cc147ae757 (patch) | |
tree | b97ca95634e57fe7d5d68cffa32aed6d23ab8761 /selftest | |
parent | b782b5ed7c7a59fc60845c776c81cfcc56fdfda6 (diff) | |
download | samba-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-x | selftest/selftest.pl | 2 |
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) = @_; |