diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-03-24 10:00:32 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-03-24 10:00:32 +0000 |
commit | caab74b821298d22d677a9df68a8e07ece8aad34 (patch) | |
tree | 76cdb0116c8e3630f7a58f310e4239252c8332f2 | |
parent | a32b72a864e1f832032d3e33a96d1cb0f76df64a (diff) | |
download | urpmi-caab74b821298d22d677a9df68a8e07ece8aad34.tar urpmi-caab74b821298d22d677a9df68a8e07ece8aad34.tar.gz urpmi-caab74b821298d22d677a9df68a8e07ece8aad34.tar.bz2 urpmi-caab74b821298d22d677a9df68a8e07ece8aad34.tar.xz urpmi-caab74b821298d22d677a9df68a8e07ece8aad34.zip |
Return error code when the install is aborted during an upgrade
-rwxr-xr-x | urpmi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 0; + $force || message_input_($msg . N(" (Y/n) "), boolean => 1) !~ /[$noexpr]/ or exit 1; } } @@ -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 0; + $force || message_input_($msg . N(" (Y/n) "), boolean => 1) !~ /[$noexpr]/ or exit 1; } } |