Commit 13afcbd1 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Avoid a potential zombie process when killing an old ftpserver

parent e58a3fd0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.