pull/170/head
joshr 7 years ago
parent 5ab26e6707
commit 75c5ea168c

@ -549,7 +549,7 @@ function _user_required {
local keys_exist
keys_exist=$($gpg_local -n --list-keys)
local exit_code=$?
if [[ exit_code -ne 0 ]]; then
if [[ "$exit_code" -ne 0 ]]; then
# this might catch corner case where gpg --list-keys shows
# 'gpg: skipped packet of type 12 in keybox' warnings but succeeds?
# See #136

Loading…
Cancel
Save