From 2c49e436b1188d8d338596e4b3bf5ffa87eb53ed Mon Sep 17 00:00:00 2001 From: Nebula Date: Sat, 17 Dec 2022 18:00:29 -0500 Subject: [PATCH] cant believe that was the issue --- palera1n.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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