Prevent flashing older builds

This commit is contained in:
2020-05-21 10:33:42 -04:00
parent 4b05570ce3
commit 7f9bb3bee8

View File

@@ -354,9 +354,10 @@ __main() {
installPrerequisites installPrerequisites
acquireImageBuilder acquireImageBuilder
extractImageBuilder extractImageBuilder
makeImage if makeImage; then
[[ -n $_ssh_upgrade_path ]] && sshUpgrade [[ -n $_ssh_upgrade_path ]] && sshUpgrade
[[ -n $_flash_dev ]] && flashImage [[ -n $_flash_dev ]] && flashImage
fi
} }
__main "$@" __main "$@"