aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 44697fa73..ef483535b 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -650,7 +650,7 @@ sub verifyftp {
logmsg "RUN: Verifying our test ". uc($proto) .
" server took $took seconds\n";
}
- $ftpchecktime = $took?$took:1; # make sure it never is zero
+ $ftpchecktime = $took>=1?$took:1; # make sure it never is below 1
return $pid;
}