summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pod/urpmi.8.pod4
-rw-r--r--urpm/main_loop.pm2
2 files changed, 5 insertions, 1 deletions
diff --git a/pod/urpmi.8.pod b/pod/urpmi.8.pod
index 3f07fa16..7e274c91 100644
--- a/pod/urpmi.8.pod
+++ b/pod/urpmi.8.pod
@@ -499,6 +499,10 @@ Some files are missing and all transactions failed.
=item 15
+No package installed (when using --expect-install)
+
+=item 16
+
Bad signature
=back
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;
}
}