[Pkg-gnupg-commit] [gnupg2] 98/205: g10: Silence message if --quiet is given.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed May 11 08:38:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit 4f578cb2fc192f44070bb0d18dffaa3863ed0d92
Author: Kevin J. McCarthy <kevin at 8t8.us>
Date:   Thu Mar 10 12:41:06 2016 +0100

    g10: Silence message if --quiet is given.
    
    * g10/getkey.c (parse_def_secret_key): Silence message if --quiet is
    given.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 g10/getkey.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/g10/getkey.c b/g10/getkey.c
index 74fa753..481e8dd 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1678,7 +1678,7 @@ parse_def_secret_key (ctrl_t ctrl)
         }
       else
         {
-          if (! warned)
+          if (! warned && ! opt.quiet)
             log_info (_("using \"%s\" as default secret key for signing\n"),
                       t->d);
           break;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list