diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-04-24 21:30:39 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-04-24 21:30:39 +0000 |
commit | 17507eac852b2042e51984899fd18b59a17300ee (patch) | |
tree | 0653b2209aa078b48a5d848d39d53977e48d0e6b /tests/ftp.pm | |
parent | bc1ae973daafb5881b65e179d2f5ce891acf22bd (diff) | |
download | curl-17507eac852b2042e51984899fd18b59a17300ee.tar.gz |
Clear out FTP server options before each new client.
Wait for child processes to die to avoid creating zombies.
Diffstat (limited to 'tests/ftp.pm')
-rw-r--r-- | tests/ftp.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ftp.pm b/tests/ftp.pm index 738482a81..b3cc14abb 100644 --- a/tests/ftp.pm +++ b/tests/ftp.pm @@ -64,6 +64,7 @@ sub ftpkillslave { if($pid > 0) { printf ("* kill pid for %s => %d\n", "ftp-$base$id$ext", $pid) if($verbose); kill (9, $pid); # die! + waitpid($pid, 0); } unlink($f); } |