aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 7a7081630..250b1e90d 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -462,9 +462,9 @@ sub runftpserver {
$pid = 0+$1;
}
}
- if(!$pid || ($took > 2)) {
+ if(!$pid && $data[0]) {
# this is not a known server
- print "RUN: Unknown server on our favourite port: $FTPPORT\n";
+ print "RUN: Unknown server on our favourite FTP port: $FTPPORT\n";
return -1;
}
}