aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpgconf.c')
-rw-r--r--tools/gpgconf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gpgconf.c b/tools/gpgconf.c
index d6c333792..59c903165 100644
--- a/tools/gpgconf.c
+++ b/tools/gpgconf.c
@@ -189,6 +189,9 @@ main (int argc, char **argv)
if (log_get_errorcount (0))
exit (2);
+
+ fprintf (stderr, "My error: %d (%s)\n", GPG_ERR_ENOENT,
+ gpg_strerror (GPG_ERR_ENOENT));
fname = argc ? *argv : NULL;