diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-07-11 17:18:37 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-07-11 17:18:37 +0000 |
commit | 13afcbd1ebcd9069d8782769aa9c64ab6cd0329f (patch) | |
tree | f5accf668f9747dd9d79a7d57ca80df40acf4c8c /tests | |
parent | e58a3fd0aab4dee34f767462c807943196260da8 (diff) |
Avoid a potential zombie process when killing an old ftpserver
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ftpserver.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index ce82d642b..3841e1f32 100644 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -550,6 +550,7 @@ sub PASV_command { if($prev > 0) { print "kill existing server: $prev\n" if($verbose); kill(9, $prev); + waitpid($prev, 0); } # We fire up a new sockfilt to do the data transfer for us. |