diff options
-rw-r--r-- | tests/ftpserver.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 503f1a5ce..37bd78307 100644 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -439,7 +439,8 @@ for ( $waitedpid = 0; unless (m/^([A-Z]{3,4})\s?(.*)/i) { print "500 '$_': command not understood.\r\n"; - next; + logmsg "unknown crap received, bailing out hard\n"; + last; } my $FTPCMD=$1; my $FTPARG=$2; |