summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-03-24 14:58:23 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-03-24 14:58:23 +0000
commitba06798039816c9687949c136ac7a806557eeb08 (patch)
tree0941351a209d8b9536f837ccd4e3278e969bbb9c /urpmi
parent8267bc826550554e98818b11907ab45d848cf441 (diff)
downloadurpmi-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
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi4
1 files changed, 2 insertions, 2 deletions
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;
}
}