From cd8eca768da684725affbbe7799344e929167349 Mon Sep 17 00:00:00 2001 From: LukeeGD Date: Thu, 13 Aug 2020 10:11:33 +0800 Subject: [PATCH] Fix syntax error --- restore.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/restore.sh b/restore.sh index 25280c4..65ca034 100755 --- a/restore.sh +++ b/restore.sh @@ -74,9 +74,7 @@ function Main { esac done SelectVersion - else - Error "Please put the device in normal mode (and jailbroken for 32-bit) before proceeding." "Recovery or DFU mode is also applicable for A7 devices" - fi + elif [[ $RecoveryDevice == 1 ]] && [[ $A7Device != 1 ]]; then Error "32-bit device detected in recovery mode. Please put the device in normal mode and jailbroken before proceeding" echo "* For usage of 32-bit ipwndfu, put the device in DFU mode (A6) or pwnDFU mode (A5 using Arduino)"