summaryrefslogtreecommitdiffstats
path: root/perl-install/ftp.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/ftp.pm')
-rw-r--r--perl-install/ftp.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ftp.pm b/perl-install/ftp.pm
index c33a53e55..6e1002840 100644
--- a/perl-install/ftp.pm
+++ b/perl-install/ftp.pm
@@ -39,8 +39,8 @@ sub new {
$host = join ".", unpack "C4", (gethostbyname $host)[4];
}
- my $ftp = Net::FTP->new($host, %options) or die;
- $ftp->login($ENV{LOGIN}, $ENV{PASSWORD}) or die;
+ my $ftp = Net::FTP->new($host, %options) or die '';
+ $ftp->login($ENV{LOGIN}, $ENV{PASSWORD}) or die '';
$ftp->binary;
$ftp;