chip-update-firmware: get the return value correctly

chip/stable
Alex Kaplan 7 years ago
parent 4315a187d6
commit f1b18688ee
  1. 4
      chip-update-firmware.sh

@ -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…
Cancel
Save