mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-06 23:09:56 +00:00
fix if check
This commit is contained in:
parent
18ec9ec0db
commit
9fde35d8e7
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user