From 3504b33ada09708140a98e1f0bc15d1c4c31f9a6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 8 Apr 2009 12:02:23 +0000 Subject: (get_file_and_size) cleanup --- perl-install/install/http.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/install/http.pm b/perl-install/install/http.pm index a0c6b8175..91b27601c 100644 --- a/perl-install/install/http.pm +++ b/perl-install/install/http.pm @@ -51,9 +51,8 @@ sub get_file_and_size { my $res = urpm::download::sync_url($urpm, $url, dir => $cachedir); $res or die N("retrieval of [%s] failed", $file) . "\n"; - log::l("using $file (" . -s $file . ")"); open(my $f, $file); - +( -s $file, $f); + ( -s $file, $f); } 1; -- cgit v1.2.1