chip-update-firmware: get the return value correctly

This commit is contained in:
Alex Kaplan 2015-09-14 18:40:22 -07:00
parent 4315a187d6
commit f1b18688ee
1 changed files with 2 additions and 2 deletions

View File

@ -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 $?