diff options
Diffstat (limited to 'perl-install/ftp.pm')
-rw-r--r-- | perl-install/ftp.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ftp.pm b/perl-install/ftp.pm index f94af31ea..fe507598a 100644 --- a/perl-install/ftp.pm +++ b/perl-install/ftp.pm @@ -31,7 +31,7 @@ sub new { my $ftp; foreach (1..10) { - $ftp = Net::FTP->new(resolv($host), %options) or die "Can't resolv hostname '$host'\n"; + $ftp = Net::FTP->new(resolv($host), %options) or die "Can't resolve hostname '$host'\n"; $ftp && $ftp->login($o_login, $o_password) and last; log::l("ftp login failed, sleeping before trying again"); |