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 <wk@gnupg.org>
This commit is contained in:
Werner Koch 2020-08-25 10:56:06 +02:00
parent f148803277
commit adea5ba7e7
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{