aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r--agent/gpg-agent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 5554d3f28..8078cba25 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -885,6 +885,10 @@ main (int argc, char **argv )
if (nogreeting )
greeting = 0;
+ /* Turn the homedir into an absolute one. */
+ opt.homedir = make_absfilename (opt.homedir, NULL);
+
+
if (greeting)
{
es_fprintf (es_stderr, "%s %s; %s\n",