diff --git a/chip-update-firmware.sh b/chip-update-firmware.sh index f985adb..63bddd9 100755 --- a/chip-update-firmware.sh +++ b/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 $?