hotpocket.sh: fix incorrect variable usage in checkSignature
This commit is contained in:
parent
0f3b5a6bac
commit
1830f8dc52
@ -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
|
||||
|
Reference in New Issue
Block a user