summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/orphans.pm')
-rw-r--r--urpm/orphans.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index 1149fb16..10317b76 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -323,7 +323,7 @@ sub _kernel_callback {
return if $shortname =~ /-(?:source|doc|headers|firmware(?:|-extra))$/;
# ignore requested kernels
- return unless %l->{$shortname};
+ return unless $l{$shortname};
# keep track of latest kernels in order not to try removing requested kernels:
if ($n =~ /latest/) {