diff options
Diffstat (limited to 'urpm/media.pm')
-rw-r--r-- | urpm/media.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm index 883e5dce..db99910f 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1867,7 +1867,7 @@ sub clean { sub get_packages_list { my ($file, $o_extra) = @_; my $val = []; - open(my $f, '<', $file) or return []; + open(my $f, '<', $file); foreach (<$f>, split /,/, $o_extra || '') { chomp; s/#.*$//; s/^\s*//; s/\s*$//; next if $_ eq ''; |