diff options
author | Werner Koch <wk@gnupg.org> | 2019-09-27 14:28:36 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2019-09-27 14:28:36 +0200 |
commit | 8e574130482167dc7d2e2888cc80ad6584345e3d (patch) | |
tree | aed1a6c563b60dae10b9501a24b0a0fd4fc7a640 /kbx/backend-kbx.c | |
parent | kbx: Store the UBIB in the blob. (diff) | |
download | gnupg2-8e574130482167dc7d2e2888cc80ad6584345e3d.tar.xz gnupg2-8e574130482167dc7d2e2888cc80ad6584345e3d.zip |
kbx: Fix error code return in keyboxd.
* kbx/frontend.c (kbxd_add_resource): Print a diagnostic on error.
* kbx/backend-kbx.c (be_kbx_add_resource): Acttually returh the error
code.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'kbx/backend-kbx.c')
-rw-r--r-- | kbx/backend-kbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbx/backend-kbx.c b/kbx/backend-kbx.c index 851f2dadf..438d300b0 100644 --- a/kbx/backend-kbx.c +++ b/kbx/backend-kbx.c @@ -200,7 +200,7 @@ be_kbx_add_resource (ctrl_t ctrl, backend_handle_t *r_hd, leave: xfree (hd); - return 0; + return err; } |