summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pod/urpmi.8.pod4
-rwxr-xr-xurpmi4
2 files changed, 6 insertions, 2 deletions
diff --git a/pod/urpmi.8.pod b/pod/urpmi.8.pod
index 7e274c91..5cd5dc8e 100644
--- a/pod/urpmi.8.pod
+++ b/pod/urpmi.8.pod
@@ -505,6 +505,10 @@ No package installed (when using --expect-install)
Bad signature
+=item 17
+
+Some packages couldn't be installed or upgraded
+
=back
=head1 BUG REPORTS
diff --git a/urpmi b/urpmi
index f9927e2f..f61d4b5b 100755
--- a/urpmi
+++ b/urpmi
@@ -493,7 +493,7 @@ that are older than the installed ones:\n%s", $list);
} else {
my $noexpr = N("Nn");
$msg .= N("\nContinue installation anyway?");
- $force || message_input_($msg . N(" (Y/n) "), boolean => 1) !~ /[$noexpr]/ or exit 1;
+ $force || message_input_($msg . N(" (Y/n) "), boolean => 1) !~ /[$noexpr]/ or exit 17;
}
}
@@ -508,7 +508,7 @@ if (@ask_unselect) {
} else {
my $noexpr = N("Nn");
$msg .= N("\nContinue installation anyway?");
- $force || message_input_($msg . N(" (Y/n) "), boolean => 1) !~ /[$noexpr]/ or exit 1;
+ $force || message_input_($msg . N(" (Y/n) "), boolean => 1) !~ /[$noexpr]/ or exit 17;
}
}