mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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
This commit is contained in:
parent
b1b1923b06
commit
5cb6df8996
3 changed files with 13 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue