uboot: exit on error on uuu install script

Exit on error to prevent continuation of programming when
there was an issue.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2021-08-24 11:22:51 +02:00
parent f46851e245
commit e380377310
3 changed files with 9 additions and 0 deletions

View File

@ -18,6 +18,9 @@
# U-Boot script for installing Linux images created by Yocto # U-Boot script for installing Linux images created by Yocto
# #
# Exit on any error
set -e
# Parse uuu cmd output # Parse uuu cmd output
getenv() getenv()
{ {

View File

@ -18,6 +18,9 @@
# U-Boot script for installing Linux images created by Yocto # U-Boot script for installing Linux images created by Yocto
# #
# Exit on any error
set -e
# Parse uuu cmd output # Parse uuu cmd output
getenv() getenv()
{ {

View File

@ -18,6 +18,9 @@
# U-Boot script for installing Linux images created by Yocto # U-Boot script for installing Linux images created by Yocto
# #
# Exit on any error
set -e
# Parse uuu cmd output # Parse uuu cmd output
getenv() getenv()
{ {