We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b537693 commit f0c309bCopy full SHA for f0c309b
ncm-spma/src/main/perl/spma/yum.pm
@@ -694,7 +694,7 @@ sub packages_to_remove
694
695
# The leaf set doesn't contain the header lines, which are just
696
# garbage.
697
- my $leaves = Set::Scalar->new(grep($_ !~ m{\s}, split(/\n/, $out)));
+ my $leaves = Set::Scalar->new(grep($_ !~ m{^$|\s}, split(/\n/, $out)));
698
699
my $candidates = $leaves-$wanted;
700
0 commit comments