From 1830f8dc528b15db46b0d07120d352b7304c2215 Mon Sep 17 00:00:00 2001 From: Jon Date: Sun, 20 Feb 2022 15:09:18 +0000 Subject: [PATCH] hotpocket.sh: fix incorrect variable usage in checkSignature --- hotpocket.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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