diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-11 23:49:51 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-11 23:49:51 +0000 |
commit | 3283593e6701012da131a4ed168cc9984e291662 (patch) | |
tree | 8962d23713d8432580bbf5f92cb904282f5cfd49 | |
parent | 13d375b1c48e6078b64c0e0ae0f49e1b89c5c6f7 (diff) | |
download | drakx-3283593e6701012da131a4ed168cc9984e291662.tar drakx-3283593e6701012da131a4ed168cc9984e291662.tar.gz drakx-3283593e6701012da131a4ed168cc9984e291662.tar.bz2 drakx-3283593e6701012da131a4ed168cc9984e291662.tar.xz drakx-3283593e6701012da131a4ed168cc9984e291662.zip |
do not retry on 550 file unavailable
-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; |