diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-08-22 08:23:22 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-08-22 08:23:22 +0000 |
commit | 936c7b202cdbd040bc78e73403aff5d09428549e (patch) | |
tree | a46713af6434035475a6c65b052cbde036896cb3 /urpm.pm | |
parent | 295e4b5cbb2b4b986e335ccdb766ea834566b1fc (diff) | |
download | urpmi-936c7b202cdbd040bc78e73403aff5d09428549e.tar urpmi-936c7b202cdbd040bc78e73403aff5d09428549e.tar.gz urpmi-936c7b202cdbd040bc78e73403aff5d09428549e.tar.bz2 urpmi-936c7b202cdbd040bc78e73403aff5d09428549e.tar.xz urpmi-936c7b202cdbd040bc78e73403aff5d09428549e.zip |
Bad return type if skip.list or inst.list is not here
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 ''; |