summaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
authorKevin J. McCarthy <kevin@8t8.us>2016-03-10 12:41:06 +0100
committerJustus Winter <justus@g10code.com>2016-03-10 12:41:06 +0100
commit4f578cb2fc192f44070bb0d18dffaa3863ed0d92 (patch)
tree48d1c9430a90d7d1d2dc3e8af0e5a1483869d931 /g10/getkey.c
parentgpg: Add a new test. (diff)
downloadgnupg2-4f578cb2fc192f44070bb0d18dffaa3863ed0d92.tar.xz
gnupg2-4f578cb2fc192f44070bb0d18dffaa3863ed0d92.zip
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@g10code.com>
Diffstat (limited to '')
-rw-r--r--g10/getkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 74fa7530a..481e8dd92 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;