diff options
Diffstat (limited to 'tests/ftpserver.pl')
-rwxr-xr-x | tests/ftpserver.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 62e423b44..718920fd0 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -703,7 +703,7 @@ sub close_dataconn { logmsg "DATA sockfilt for $datasockf_mode data channel quits ". "(pid $datapid)\n"; print DWRITE "QUIT\n"; - waitpid($datapid, 0); + pidwait($datapid, 0); unlink($datasockf_pidfile) if(-f $datasockf_pidfile); logmsg "DATA sockfilt for $datasockf_mode data channel quit ". "(pid $datapid)\n"; |