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