verify_sig: Disable set -e to actually print the error msg
This commit is contained in:
parent
16da064a24
commit
f782b24d84
@ -78,10 +78,12 @@ print_usage()
|
|||||||
|
|
||||||
verify_sig()
|
verify_sig()
|
||||||
{
|
{
|
||||||
|
set +e
|
||||||
gpg --no-default-keyring --keyring "$1" --quiet --verify 2> "${CACHE_DIR}/last_gnupg_verify_result"
|
gpg --no-default-keyring --keyring "$1" --quiet --verify 2> "${CACHE_DIR}/last_gnupg_verify_result"
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
fail "Signature check failed"
|
fail "Signature check failed - See "${CACHE_DIR}/last_gnupg_verify_result""
|
||||||
fi
|
fi
|
||||||
|
set -e
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user