aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index a7496de..b0df240 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -2010,7 +2010,7 @@ sub build_transaction_set {
if ($state->{orphans_to_remove}) {
my @l = map { scalar $_->fullname } @{$state->{orphans_to_remove}};
- push @{$state->{transaction}}, { remove => \@l };
+ push @{$state->{transaction}}, { remove => \@l } if @l;
}
$state->{transaction};