aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-08-25 08:56:06 +0000
committerWerner Koch <[email protected]>2020-08-25 09:17:35 +0000
commitadea5ba7e75261705ba6e9c2456207e9455677f3 (patch)
tree74aec1020f32281577708db859e35a7371172676
parentAdd a new dist signing key (diff)
downloadgnupg-adea5ba7e75261705ba6e9c2456207e9455677f3.tar.gz
gnupg-adea5ba7e75261705ba6e9c2456207e9455677f3.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 8f5d5b899..e03cc6b05 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)
{