We also need an error code here.

This commit is contained in:
Wynter Woods 2015-09-13 06:35:59 -07:00
parent b4b929d2b3
commit 2706f574bc
1 changed files with 2 additions and 2 deletions

View File

@ -48,5 +48,5 @@ cache_download "${FW_IMAGE_DIR}" uboot-env.bin
cache_download "${FW_IMAGE_DIR}" zImage
cache_download "${FW_IMAGE_DIR}" u-boot-dtb.bin
BUILDROOT_OUTPUT_DIR="${FW_DIR}" ${FLASH_SCRIPT}
RETURNVAL=$(BUILDROOT_OUTPUT_DIR="${FW_DIR}" ${FLASH_SCRIPT})
exit $(( ${RETURNVAL} ))