meta-digi/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ulstarter
Hector Palacios fddaee85b9 update-fw scripts: fix error path after sucessful update
On commit 1e5cafeb79 a fall-back
update command was introduced in case the newest command fails.
If the newest command succeeds, however, the 'test' command for
error doesn't match (there is no error) and the return code of
such test is "1". On the next check for errors, this results on
an error, when we really mean to continue because the first
command was successful.

Move the second error check inside the error path of the first
attempt.

Reported-by: Francisco Gil <francisco.gilmartinez@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-01-18 17:36:38 +01:00
..
boot.txt u-boot-dey: restore modified env vars in case of error on bootscript 2020-10-01 16:13:46 +02:00
install_linux_fw_sd.txt update-fw scripts: fix error path after sucessful update 2021-01-18 17:36:38 +01:00
install_linux_fw_usb.txt update-fw scripts: fix error path after sucessful update 2021-01-18 17:36:38 +01:00
install_linux_fw_uuu.sh uboot: add script to update firmware through uuu 2020-11-16 13:26:53 +01:00