From f1b18688eef9f99fa8cc0093ce5f3f4b85a2f9e8 Mon Sep 17 00:00:00 2001 From: Alex Kaplan Date: Mon, 14 Sep 2015 18:40:22 -0700 Subject: [PATCH] chip-update-firmware: get the return value correctly --- chip-update-firmware.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 $?