aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/call-agent.c')
-rw-r--r--g10/call-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c
index b981b7f22..e1eabc9f0 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -82,7 +82,7 @@ start_agent (void)
the access to the agent. */
infostr = force_pipe_server? NULL : getenv ("GPG_AGENT_INFO");
- if (!infostr)
+ if (!infostr || !*infostr)
{
const char *pgmname;
const char *argv[3];