From 2bdc9ecf7b44a8ebc686cd2b8727e7e626371131 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sun, 17 Nov 2024 13:45:31 +0100 Subject: [PATCH] amepatch: set correct exit code Signed-off-by: AuxXxilium --- amepatch/all/usr/bin/amepatch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amepatch/all/usr/bin/amepatch.sh b/amepatch/all/usr/bin/amepatch.sh index e7d20bc..2c69709 100755 --- a/amepatch/all/usr/bin/amepatch.sh +++ b/amepatch/all/usr/bin/amepatch.sh @@ -44,7 +44,7 @@ if [ -d "/var/packages/CodecPack" ]; then content='[{"attribute": {"codec": "hevc", "type": "free"}, "status": "valid", "extension_gid": null, "expireTime": 0, "appName": "ame", "follow": ["device"], "duration": 1576800000, "appType": 14, "licenseContent": 1, "registered_at": 1649315995, "server_time": 1685421618, "firstActTime": 1649315995, "licenseCode": "0"}, {"attribute": {"codec": "aac", "type": "free"}, "status": "valid", "extension_gid": null, "expireTime": 0, "appName": "ame", "follow": ["device"], "duration": 1576800000, "appType": 14, "licenseContent": 1, "registered_at": 1649315995, "server_time": 1685421618, "firstActTime": 1649315995, "licenseCode": "0"}]' else echo "MD5 mismatch - already patched or unsupported version!" - exit 1 + exit 0 fi for ((i = 0; i < ${#hex_values[@]}; i++)); do