scripts
scripts copied to clipboard
firmware.sh cannot restore firmware (typo line 375)
Line 375:
[[ "$REPLY" = "y" || "$REPLY" = "Y" ]] || exit_red "User cancelled restoring stock firmware"; return
The 'return' command is outside of the statement, so replying 'yes' still runs the return.
Deleting exit_red "User cancelled restoring stock firmware"; fixes the problem.