summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi5
1 files changed, 3 insertions, 2 deletions
diff --git a/urpmi b/urpmi
index 6e7dcdd0..7b835678 100755
--- a/urpmi
+++ b/urpmi
@@ -684,8 +684,9 @@ if ($nok) {
if ($test) {
message(N("Installation is possible"));
} elsif (@names || @src_names || @files || @src_files || $auto_select) {
- @{$state->{transaction} || []} == 0 && @ask_unselect == 0 && $verbose >= 0 and
- message(N("The package(s) are already installed"));
+ @{$state->{transaction} || []} == 0 && @ask_unselect == 0 && $verbose >= 0
+ and message(N("The package(s) are already installed"));
+ $exit_code = 15;
}
}