aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-08-23 09:45:49 +0000
committerWerner Koch <[email protected]>2019-08-23 09:45:49 +0000
commitf14ddeb89c4519cd7ccf52c4595b93ab11ccbda1 (patch)
tree72ebe7c7be8ef4e2cf5d8ee2e7c6394ff358ac32 /g10/trustdb.c
parentgpgconf: Suggest the use of --gpgconf-test on --launch problems. (diff)
downloadgnupg-f14ddeb89c4519cd7ccf52c4595b93ab11ccbda1.tar.gz
gnupg-f14ddeb89c4519cd7ccf52c4595b93ab11ccbda1.zip
gpg: Do not show two informational diagnostics with quiet.
* g10/trustdb.c (verify_own_keys): Silence informational diagnostic. -- This silences these notes with --quiet gpg: Note: RFC4880bis features are enabled. gpg: key EE65E8C75D41FD1D marked as ultimately trusted GnuPG-bug-id: 4634 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/trustdb.c')
-rw-r--r--g10/trustdb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c
index a230a6c03..bd1dad8f5 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -303,7 +303,9 @@ verify_own_keys (ctrl_t ctrl)
release_public_key_parts (&pk);
}
- log_info (_("key %s marked as ultimately trusted\n"),keystr(k->kid));
+ if (!opt.quiet)
+ log_info (_("key %s marked as ultimately trusted\n"),
+ keystr(k->kid));
}
}