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>
This commit is contained in:
Kevin J. McCarthy 2016-03-10 12:41:06 +01:00 committed by Justus Winter
parent b17577eac6
commit 4f578cb2fc
1 changed files with 1 additions and 1 deletions

View File

@ -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;