aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/gpgconf-comp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 77139bbae..8c47b2e5e 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -1142,7 +1142,7 @@ dirmngr_runtime_change (int killflag)
/* Launch the gpg-agent or the dirmngr if not already running. */
-void
+gpg_error_t
gc_component_launch (int component)
{
gpg_error_t err;
@@ -1176,6 +1176,7 @@ gc_component_launch (int component)
" NOP",
gpg_strerror (err));
gnupg_release_process (pid);
+ return err;
}