chip-update-firmware: get the return value correctly
This commit is contained in:
parent
4315a187d6
commit
f1b18688ee
@ -64,5 +64,5 @@ cache_download "${FW_IMAGE_DIR}" uboot-env.bin
|
||||
cache_download "${FW_IMAGE_DIR}" zImage
|
||||
cache_download "${FW_IMAGE_DIR}" u-boot-dtb.bin
|
||||
|
||||
RETURNVAL=$(BUILDROOT_OUTPUT_DIR="${FW_DIR}" ${FLASH_SCRIPT})
|
||||
exit $(( ${RETURNVAL} ))
|
||||
BUILDROOT_OUTPUT_DIR="${FW_DIR}" ${FLASH_SCRIPT}
|
||||
exit $?
|
||||
|
Loading…
Reference in New Issue
Block a user