diff options
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2365,7 +2365,7 @@ sub create_transaction { sub get_packages_list { my ($file, $extra) = @_; my $val = []; - open my $f, $file or return {}; + open my $f, $file or return []; foreach (<$f>, split /,/, $extra || '') { chomp; s/#.*$//; s/^\s*//; s/\s*$//; next if $_ eq ''; |