diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/ftp.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/ftp.pm b/perl-install/ftp.pm index 06ae86c33..20b837b8c 100644 --- a/perl-install/ftp.pm +++ b/perl-install/ftp.pm @@ -55,6 +55,7 @@ sub getFile { my ($ftp, $retr) = new(@para ? @para : fromEnv); $$retr->close if $$retr; $$retr = $ftp->retr($f) and return $$retr; + ($ftp->code == 550) and log::l("FTP: 550 file unavailable"), return; rewindGetFile(); log::l("ftp get failed, sleeping before trying again"); sleep 1; |