aboutsummaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/getkey.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 789e2982f..122d17f26 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -2068,8 +2068,9 @@ premerge_public_with_secret ( KBNODE pubblock, KBNODE secblock )
if ( !sec ) {
KBNODE next, ll;
- log_info ( "no secret subkey "
- "for public subkey %08lX - ignoring\n",
+ if (opt.verbose)
+ log_info ( _("no secret subkey "
+ "for public subkey %08lX - ignoring\n"),
(ulong)keyid_from_pk (pk,NULL) );
/* we have to remove the subkey in this case */
assert ( last );