diff options
Diffstat (limited to 'grpmi')
-rwxr-xr-x | grpmi/grpmi.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grpmi/grpmi.pl b/grpmi/grpmi.pl index 74d8dd24..b39fb4e4 100755 --- a/grpmi/grpmi.pl +++ b/grpmi/grpmi.pl @@ -207,7 +207,7 @@ $exitstatus = 0; cleanup: if (!member('noclearcache', @grpmi_config)) { my @toclean = map { s/^-skipped&([^&]+)&$/$1/; if_(/^\Q$cache_location/, $_) } @ARGV; - if ($forced_exitstatus || $exitstatus && @toclean) { + if (@toclean && ($forced_exitstatus || $exitstatus)) { interactive_msg(N("Cleanup"), N("Cleanup question: there was an error during installation, do you want to remove the %d downloaded package(s)? |