summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-07 07:22:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-07 07:22:27 +0000
commit53d4163b636570e38f76b863c4f24e98da680f52 (patch)
treed719742a528de31f47e081337de99bf610b8cce0 /urpm
parentcd1742ec8aaff0a17c80dd03244c4a1b25686b25 (diff)
downloadurpmi-53d4163b636570e38f76b863c4f24e98da680f52.tar
urpmi-53d4163b636570e38f76b863c4f24e98da680f52.tar.gz
urpmi-53d4163b636570e38f76b863c4f24e98da680f52.tar.bz2
urpmi-53d4163b636570e38f76b863c4f24e98da680f52.tar.xz
urpmi-53d4163b636570e38f76b863c4f24e98da680f52.zip
exit code 15 is already used for --expect-install, use exit code 16 for bad signature
Diffstat (limited to 'urpm')
-rw-r--r--urpm/main_loop.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index 546c0828..bdeb1aac 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) or return 15;
+ $callbacks->{bad_signature}->("$msg:\n$p\n", $msg2) or return 16;
}
}