From 53d4163b636570e38f76b863c4f24e98da680f52 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 7 Oct 2008 07:22:27 +0000 Subject: exit code 15 is already used for --expect-install, use exit code 16 for bad signature --- urpm/main_loop.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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; } } -- cgit v1.2.1