diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-03-24 14:58:23 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-03-24 14:58:23 +0000 |
commit | ba06798039816c9687949c136ac7a806557eeb08 (patch) | |
tree | 0941351a209d8b9536f837ccd4e3278e969bbb9c | |
parent | 8267bc826550554e98818b11907ab45d848cf441 (diff) | |
download | urpmi-ba06798039816c9687949c136ac7a806557eeb08.tar urpmi-ba06798039816c9687949c136ac7a806557eeb08.tar.gz urpmi-ba06798039816c9687949c136ac7a806557eeb08.tar.bz2 urpmi-ba06798039816c9687949c136ac7a806557eeb08.tar.xz urpmi-ba06798039816c9687949c136ac7a806557eeb08.zip |
Change error code when some packages couldn't be installed
-rw-r--r-- | pod/urpmi.8.pod | 4 | ||||
-rwxr-xr-x | urpmi | 4 |
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 @@ -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; } } |