aboutsummaryrefslogtreecommitdiffstats
path: root/agent/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/query.c')
-rw-r--r--agent/query.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/agent/query.c b/agent/query.c
index 45fcbfd8e..fcee18c2a 100644
--- a/agent/query.c
+++ b/agent/query.c
@@ -95,12 +95,11 @@ start_pinentry (void)
log_debug ("connection to PIN entry established\n");
- if (DBG_COMMAND)
- {
- log_debug ("waiting for debugger [hit RETURN when ready] .....\n");
- getchar ();
- log_debug ("... okay\n");
- }
+ rc = assuan_transact (entry_ctx,
+ opt.no_grab? "OPTION no-grab":"OPTION grab",
+ NULL, NULL, NULL, NULL);
+ if (rc)
+ return map_assuan_err (rc);
return 0;
}