Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Feb 16, 2025
1 parent 3bbc7e7 commit 6324812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ device_dfuhelper() {
echo -n "$sec "
device_find_all $1
opt=$?
if [[ $opt == 1 ]]; then
if [[ $opt == 1 && $mode != "device_dfuhelper" ]]; then
echo -e "\n$(log 'Found device in DFU mode.')"
device_mode="DFU"
return
Expand Down

0 comments on commit 6324812

Please sign in to comment.