diff --git a/resources/downgrade.sh b/resources/downgrade.sh index f446f52..bddf460 100755 --- a/resources/downgrade.sh +++ b/resources/downgrade.sh @@ -78,13 +78,15 @@ Downgrade() { elif [[ $Mode == "Downgrade" && $DeviceProc != 7 ]]; then read -p "$(Input 'Jailbreak the selected iOS version? (y/N):')" Jailbreak - [[ $Jailbreak == 'Y' || $Jailbreak == 'y' ]] && Jailbreak=1 - - if [[ $ProductType == "iPad2,5" || $ProductType == "iPad2,6" || - $ProductType == "iPad2,7" || $ProductType == "iPod5,1" ]]; then - Log "Warning - A5 Rev A device detected. Enabling the jailbreak option might not work for you" - read -p "$(Input 'Select Y to continue anyway, N to cancel and exit (y/N):')" Jailbreak - [[ $Jailbreak == 'Y' || $Jailbreak == 'y' ]] && Jailbreak=1 || exit 0 + + if [[ $Jailbreak == 'Y' || $Jailbreak == 'y' ]]; then + Jailbreak=1 + if [[ $ProductType == "iPad2,5" || $ProductType == "iPad2,6" || + $ProductType == "iPad2,7" || $ProductType == "iPod5,1" ]]; then + Log "Warning - A5 Rev A device detected. Enabling the jailbreak option might not work for you" + read -p "$(Input 'Select Y to continue anyway, N to cancel and exit (y/N):')" Jailbreak + [[ $Jailbreak == 'Y' || $Jailbreak == 'y' ]] && Jailbreak=1 || exit 0 + fi fi fi