aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/backend-kbx.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-09-27 12:28:36 +0000
committerWerner Koch <[email protected]>2019-09-27 12:28:36 +0000
commit8e574130482167dc7d2e2888cc80ad6584345e3d (patch)
treeaed1a6c563b60dae10b9501a24b0a0fd4fc7a640 /kbx/backend-kbx.c
parentkbx: Store the UBIB in the blob. (diff)
downloadgnupg-8e574130482167dc7d2e2888cc80ad6584345e3d.tar.gz
gnupg-8e574130482167dc7d2e2888cc80ad6584345e3d.zip
kbx: Fix error code return in keyboxd.switch-to-gpgk
* 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 <[email protected]>
Diffstat (limited to 'kbx/backend-kbx.c')
-rw-r--r--kbx/backend-kbx.c2
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;
}