diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-02 15:40:05 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-02 15:40:05 +0200 |
commit | 594de5067ef8922f1125c948747490550a30a7d9 (patch) | |
tree | ad589492b4e187dae7c7e6ac998f6bc4b37f04c2 /sboremove | |
parent | 8fc7b067e8585a43c0b47d8580232d00072016ef (diff) | |
download | sbotools-594de5067ef8922f1125c948747490550a30a7d9.tar.xz |
sboremove: don't check a ref if it's truthy, check the hash that's actually being used
Diffstat (limited to 'sboremove')
-rwxr-xr-x | sboremove | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}; } |