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:
parent
3920b4dae8
commit
67532e916c
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user