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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/call-agent.c b/sm/call-agent.c
index 30a1b6480..a0a1da5c3 100644
--- a/sm/call-agent.c
+++ b/sm/call-agent.c
@@ -78,10 +78,10 @@ start_agent (void)
if (agent_ctx)
return 0; /* fixme: We need a context for each thread or serialize
the access to the agent (which is suitable given that
- the agent is not MT */
+ the agent is not MT. */
infostr = force_pipe_server? NULL : getenv ("GPG_AGENT_INFO");
- if (!infostr)
+ if (!infostr || !*infostr)
{
const char *pgmname;
const char *argv[3];