1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00

grrr, fix the check again if no ftp server at all is running

This commit is contained in:
Daniel Stenberg 2004-05-17 10:51:51 +00:00
parent 3920b4dae8
commit 67532e916c

View File

@ -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;
}
}