diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-25 16:42:07 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-30 19:50:48 +0000 |
commit | cc0686845b8db87998cfe937014e0f3d2c24b03e (patch) | |
tree | 4da86f8a25bb65e23443ba97146aa257974deac7 | |
parent | 1b99def96ddbaec91a0208916f257a1381e446b6 (diff) |
import-dsc: Actually print signature warning without --require-valid
If --require-valid-signature was not set, we would not print the
warning if there was one. That is quite wrong.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5324,8 +5324,8 @@ sub cmd_import_dsc { require_valid_signature => $needsig; { local $SIG{__WARN__} = sub { - return unless $needsig; print STDERR $_[0]; + return unless $needsig; fail "import-dsc signature check failed"; }; if (!$dp->is_signed()) { |