scripts icon indicating copy to clipboard operation
scripts copied to clipboard

firmware.sh cannot restore firmware (typo line 375)

Open tonyclickspace opened this issue 10 years ago • 0 comments

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.

tonyclickspace avatar Jul 20 '16 20:07 tonyclickspace