diff --git a/palera1n.sh b/palera1n.sh index 499e42e..08a8de2 100755 --- a/palera1n.sh +++ b/palera1n.sh @@ -565,10 +565,10 @@ if [ ! -f blobs/"$deviceid"-"$version".der ]; then if [ "$tweaks" = "1" ]; then echo "[*] Testing for baseband presence" - if [ "$(remote_cmd "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "true" ] && [ "${cpid}" == *"0x700"* ]; then + if [ "$(remote_cmd "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "true" ] && [[ "${cpid}" == *"0x700"* ]]; then disk=7 elif [ "$(remote_cmd "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "false" ]; then - if [ "${cpid}" == *"0x700"* ]; then + if [[ "${cpid}" == *"0x700"* ]]; then disk=6 else disk=7