From 5cb6df8996623c00eaa2a39e3037101585442f7e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 17 Dec 2014 10:36:24 +0100 Subject: 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 --- tools/gpgconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gpgconf.h') 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); -- cgit v1.2.3