aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-08-25 08:56:06 +0000
committerWerner Koch <[email protected]>2020-08-25 08:56:06 +0000
commitb17846e4fd02f65b24ada306855fb110c56c5e73 (patch)
tree1175984772d9089baa10996789f1cccdaa50ce4c
parentdoc: Typo fixes (diff)
downloadgnupg-b17846e4fd02f65b24ada306855fb110c56c5e73.tar.gz
gnupg-b17846e4fd02f65b24ada306855fb110c56c5e73.zip
agent: Allow using --gogconf-list even if HOME does not exist.
* agent/gpg-agent.c (main): Do not create directories in gpgconf mode. -- GnuPG-bug-id: 4866 Signed-off-by: Werner Koch <[email protected]>
-rw-r--r--agent/gpg-agent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index ae7da0634..bbad80074 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1378,7 +1378,8 @@ main (int argc, char **argv)
}
/* Try to create missing directories. */
- create_directories ();
+ if (!gpgconf_list)
+ create_directories ();
if (debug_wait && pipe_server)
{