From 594de5067ef8922f1125c948747490550a30a7d9 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Mon, 2 May 2016 15:40:05 +0200 Subject: sboremove: don't check a ref if it's truthy, check the hash that's actually being used --- sboremove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sboremove b/sboremove index c04f1c8..8c7b724 100755 --- a/sboremove +++ b/sboremove @@ -116,7 +116,7 @@ sub confirm_remove { # Check if packages in queue are actually installed on system my @temp; -if ($inst_names) { +if (%inst_names) { for my $sbo (@$remove_queue) { push @temp, $sbo if $inst_names{$sbo}; } -- cgit v1.2.3