diff --git a/hotpocket.sh b/hotpocket.sh index 31ef852..0de7855 100755 --- a/hotpocket.sh +++ b/hotpocket.sh @@ -209,7 +209,7 @@ checkSignature () { gpg --no-default-keyring --keyring "$KEYRING_FILE" --verify "$wd/content.json.sig" code="$?" if [ "$code" != "0" ]; then - echo "checkSignature: Exception when verifying policy signature. Exit code: $?" 1>&2 + echo "checkSignature: Exception when verifying policy signature. Exit code: $code" 1>&2 rm "$wd/content.json.sig" "$wd/content.json" rmdir "$wd" return 4