From cc0686845b8db87998cfe937014e0f3d2c24b03e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 25 Oct 2016 16:42:07 +0100 Subject: 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 --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dgit') diff --git a/dgit b/dgit index 19245e0..8e72b2a 100755 --- a/dgit +++ b/dgit @@ -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()) { -- cgit v1.2.3