fix if check

This commit is contained in:
Kalle 2025-05-07 09:17:00 +02:00
parent 18ec9ec0db
commit 9fde35d8e7
No known key found for this signature in database
GPG Key ID: 6B4D999517557C1F
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ while [ $# -gt 0 ]; do
shift # Move to the next argument
done
if [[ $WEB_APP == true ]]; then
if [[ $CHANGE_MODE == true ]]; then
$ESPTOOL_CMD --baud 1200 --after no_reset read_flash_status
exit 0
fi

View File

@ -55,7 +55,7 @@ while getopts ":hp:P:f:" opt; do
done
shift "$((OPTIND-1))"
if [[ $WEB_APP == true ]]; then
if [[ $CHANGE_MODE == true ]]; then
$ESPTOOL_CMD --baud 1200 --after no_reset read_flash_status
exit 0
fi