aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-12-17 09:36:24 +0000
committerWerner Koch <[email protected]>2014-12-17 09:39:31 +0000
commit5cb6df8996623c00eaa2a39e3037101585442f7e (patch)
tree62b1d72a4e4302cc4a15a88f4fdd07d44c176799 /tools/gpgconf.h
parentpo: Update Japanese Translation. (diff)
downloadgnupg-5cb6df8996623c00eaa2a39e3037101585442f7e.tar.gz
gnupg-5cb6df8996623c00eaa2a39e3037101585442f7e.zip
gpgconf: Exit with failure if --launch fails.
* tools/gpgconf-comp.c (gc_component_launch): Return an error code. * tools/gpgconf.c (main): Exit if launch failed. -- GnuPG-bug-id: 1791
Diffstat (limited to 'tools/gpgconf.h')
-rw-r--r--tools/gpgconf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpgconf.h b/tools/gpgconf.h
index 0286c2737..d63833dd9 100644
--- a/tools/gpgconf.h
+++ b/tools/gpgconf.h
@@ -45,7 +45,7 @@ char *gc_percent_escape (const char *src);
void gc_error (int status, int errnum, const char *fmt, ...);
/* Launch given component. */
-void gc_component_launch (int component);
+gpg_error_t gc_component_launch (int component);
/* Kill given component. */
void gc_component_kill (int component);