Skip to content

Commit

Permalink
Merge pull request #149 from dingo35/master
Browse files Browse the repository at this point in the history
prevent ESP from restarting if signature check fails, so errors can b…
  • Loading branch information
tobozo authored Aug 19, 2024
2 parents cca338b + 1511498 commit 6174752
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/esp32FOTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -649,10 +649,6 @@ bool esp32FOTA::execOTA( int partition, bool restart_after )
if( onUpdateCheckFail ) onUpdateCheckFail( partition, CHECK_SIG_ERROR_VALIDATION_FAILED );

log_e("Signature check failed!");
if( restart_after ) {
log_w("Rebooting.");
ESP.restart();
}
return false;
} else {
delete[] signature;
Expand Down

0 comments on commit 6174752

Please sign in to comment.