From c7d85ed02f72468919c99a761c51e36c11fc2310 Mon Sep 17 00:00:00 2001 From: Tom E Date: Tue, 29 Nov 2022 23:33:24 -0500 Subject: [PATCH] [ can't match globs? --- palera1n.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/palera1n.sh b/palera1n.sh index e93cdfc..c303099 100755 --- a/palera1n.sh +++ b/palera1n.sh @@ -569,7 +569,7 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then if [ "$(remote_cmd "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "true" ] && [ "${cpid}" == *"0x7001"* ]; 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