diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-06 15:43:26 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-06 15:43:26 +0000 |
commit | 2263fff1c0a5fc0c4ab5fe6979148d3546834b91 (patch) | |
tree | dcb27ccb35fb8d9a467499aed114ae6ab1487913 /urpmi | |
parent | dd368f3a94158a85906adcd4d261e9fb9bd7c3e1 (diff) | |
download | urpmi-2263fff1c0a5fc0c4ab5fe6979148d3546834b91.tar urpmi-2263fff1c0a5fc0c4ab5fe6979148d3546834b91.tar.gz urpmi-2263fff1c0a5fc0c4ab5fe6979148d3546834b91.tar.bz2 urpmi-2263fff1c0a5fc0c4ab5fe6979148d3546834b91.tar.xz urpmi-2263fff1c0a5fc0c4ab5fe6979148d3546834b91.zip |
- urpmi, rpmdrake:
o nice exit code for "bad signature" fatal error. Fixes rpmdrake continuing
on bad signature (#44575)
Diffstat (limited to 'urpmi')
-rwxr-xr-x | urpmi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -642,10 +642,10 @@ my $exit_code = urpm::main_loop::run($urpm, $state, #- rurpmi always abort here if ($urpm->{options}{auto} || $restricted) { print "$msg\n"; - exit 1; + 0; } else { my $yesexpr = N("Yy"); - $force || message_input_("$msg$msg2" . N(" (y/N) "), boolean => 1) =~ /[$yesexpr]/ or exit 1; + $force || message_input_("$msg$msg2" . N(" (y/N) "), boolean => 1) =~ /[$yesexpr]/; } }, ask_yes_or_no => sub { |