mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:43:33 +03:00
grrr, fix the check again if no ftp server at all is running
This commit is contained in:
parent
3920b4dae8
commit
67532e916c
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue