summaryrefslogtreecommitdiffstats
path: root/tools/gpgconf.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-08-29 11:53:06 +0200
committerWerner Koch <wk@gnupg.org>2016-08-29 11:53:06 +0200
commit8e3fa5a4b205c534de2142e5d071712f957cf06a (patch)
treea6a1376eb8a3dc8fb494f765db0221d5d71becec /tools/gpgconf.c
parentcommon: Add a default socket name feature. (diff)
downloadgnupg2-8e3fa5a4b205c534de2142e5d071712f957cf06a.tar.xz
gnupg2-8e3fa5a4b205c534de2142e5d071712f957cf06a.zip
gpgconf: Print the plain socket directory with --list-dirs.
* tools/gpgconf.c (list_dirs): Add plain socketdir out. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r--tools/gpgconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpgconf.c b/tools/gpgconf.c
index 221e3e24f..bdebadbdc 100644
--- a/tools/gpgconf.c
+++ b/tools/gpgconf.c
@@ -163,6 +163,7 @@ list_dirs (estream_t fp, char **names)
{ "libdir", gnupg_libdir, NULL },
{ "datadir", gnupg_datadir, NULL },
{ "localedir", gnupg_localedir, NULL },
+ { "socketdir", gnupg_socketdir, NULL },
{ "dirmngr-socket", dirmngr_socket_name, NULL,},
{ "agent-ssh-socket", gnupg_socketdir, GPG_AGENT_SSH_SOCK_NAME },
{ "agent-socket", gnupg_socketdir, GPG_AGENT_SOCK_NAME },