mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Be sure to waitpid() after killing the process so as not to leave zombies around.
This commit is contained in:
parent
7455ff72f8
commit
aaba2b75a1
@ -20,7 +20,7 @@
|
||||
# Contributor(s):
|
||||
# Chris Waterson <waterson@netscape.com>
|
||||
#
|
||||
# $Id: make-data.pl,v 1.5 1999/11/17 23:02:53 waterson%netscape.com Exp $
|
||||
# $Id: make-data.pl,v 1.6 1999/11/18 06:06:28 waterson%netscape.com Exp $
|
||||
#
|
||||
|
||||
#
|
||||
@ -69,6 +69,7 @@ sub ForkAndWait($$$) {
|
||||
}
|
||||
|
||||
kill("TERM", $pid);
|
||||
POSIX::waitpid($pid, 0);
|
||||
return -1;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user