summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi22
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 5339daa7..d43f68d6 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -81,7 +81,7 @@ my $urpm = configure_urpm();
my $state = {};
my %requested = $urpm->register_rpms(@all_rpms);
if (@gurpmi::names) {
- urpm::select::search_packages($urpm, \%requested, [ @gurpmi::names ]);
+ urpm::select::search_packages($urpm, \%requested, [ @gurpmi::names ]) || $force or exit 1;
}
#- return value is true if program should be restarted (in order to take care of important