diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 4c7643ad7..abc0f74c8 100644 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -123,7 +123,8 @@ sub startsf { print STDERR "$cmd\n" if($verbose); print SFWRITE "PING\n"; - my $pong = ; + my $pong; + sysread SFREAD, $pong, 5; if($pong !~ /^PONG/) { logmsg "Failed sockfilt command: $cmd\n";