aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/call-agent.c')
-rw-r--r--sm/call-agent.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sm/call-agent.c b/sm/call-agent.c
index 11b88f183..e11053220 100644
--- a/sm/call-agent.c
+++ b/sm/call-agent.c
@@ -151,7 +151,9 @@ start_agent (void)
{
const char *pgmname;
const char *argv[3];
- log_info (_("no running gpg-agent - starting one\n"));
+
+ if (opt.verbose)
+ log_info (_("no running gpg-agent - starting one\n"));
if (fflush (NULL))
{
@@ -217,7 +219,7 @@ start_agent (void)
}
agent_ctx = ctx;
- if (DBG_AGENT)
+ if (DBG_ASSUAN)
log_debug ("connection to agent established\n");
rc = assuan_transact (agent_ctx, "RESET", NULL, NULL, NULL, NULL, NULL, NULL);