BAD TYPO - stops firmware being upgraded

This commit is contained in:
Tim Wilkinson 2023-01-06 20:38:54 -08:00 committed by Joe AE6XE
parent 93ba4ca367
commit 9acdc231dd
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ include /lib/upgrade/
if $(platform_check_image "$*" > /dev/null 2>&1)
then
json=$(/usr/libexec/validate_firmware_image "$*" 2> /dev/null)
if [ "$(echo "$json" | jsonfilter -e '@.value')" = "true" ]; then
if [ "$(echo "$json" | jsonfilter -e '@.valid')" = "true" ]; then
return 0;
fi
if [ "$(echo "$json" | jsonfilter -e '@.tests.fwtool_signature')" = "false" ]; then