gpg: Improve error code from lock_all.
authorWerner Koch <wk@gnupg.org>
Wed, 13 Jan 2016 13:48:02 +0000 (14:48 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 13 Jan 2016 13:48:02 +0000 (14:48 +0100)
commit9b6c91469a804c60289a2ed21334dfd856c294bb
treee2f6728610d0db549858b31ccf6d098639f8e9fb
parent8f1368d5e3f7654ad9cb100053535f728dff2344
gpg: Improve error code from lock_all.

* g10/keydb.c (lock_all): Do not clobber RC during failur cleanup.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/keydb.c