aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--agent/call-pinentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index d24a75978..925386637 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -727,7 +727,7 @@ pinentry_status_cb (void *opaque, const char *line)
if ((args = has_leading_keyword (line, "BUTTON_INFO")))
{
if (!strcmp (args, "close"))
- *flag = PINENTRY_STATUS_CLOSE_BUTTON;
+ *flag |= PINENTRY_STATUS_CLOSE_BUTTON;
}
else if (has_leading_keyword (line, "PIN_REPEATED"))
{