]> granicus.if.org Git - curl/commitdiff
grrr, fix the check again if no ftp server at all is running
authorDaniel Stenberg <daniel@haxx.se>
Mon, 17 May 2004 10:51:51 +0000 (10:51 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 17 May 2004 10:51:51 +0000 (10:51 +0000)
tests/runtests.pl

index 7a7081630915aab089d3dccdb272f6ee6fefbff8..250b1e90d88d8b96150c905ad48867522f416dff 100755 (executable)
@@ -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;
         }
     }