summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index f25f8735..ab545aa9 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2369,6 +2369,7 @@ sub get_packages_list {
open my $f, $file or return {};
foreach (<$f>, split /,/, $extra || '') {
chomp; s/#.*$//; s/^\s*//; s/\s*$//;
+ next if $_ eq '';
push @$val, $_;
}
close $f;