From 3c1fc9fce92962e0d42ca3eae23c5c7769a82f36 Mon Sep 17 00:00:00 2001 From: LukeZGD Date: Tue, 20 Jul 2021 12:49:03 +0800 Subject: [PATCH] Update device.sh --- resources/device.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/device.sh b/resources/device.sh index 834c937..e6dda53 100755 --- a/resources/device.sh +++ b/resources/device.sh @@ -33,7 +33,7 @@ GetDeviceValues() { ideviceinfo2=$($ideviceinfo -s) if [[ $? != 0 ]]; then Log "Finding device in DFU/recovery mode..." - DeviceState="$($irecovery -q 2>/dev/null | grep -w "MODE" | cut -c 7-" + DeviceState="$($irecovery -q 2>/dev/null | grep -w "MODE" | cut -c 7-)" else DeviceState="Normal" fi