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 /urpm | |
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 'urpm')
-rw-r--r-- | urpm/main_loop.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index d7fbb504..546c0828 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -143,7 +143,7 @@ foreach my $set (@{$state->{transaction} || []}) { : N("The following packages have bad signatures"); my $msg2 = N("Do you want to continue installation ?"); my $p = join "\n", @bad_signatures; - $callbacks->{bad_signature}->("$msg:\n$p\n", $msg2); + $callbacks->{bad_signature}->("$msg:\n$p\n", $msg2) or return 15; } } |