From aa2d5c1fa8d5136c3f0c0bfd3bda926738b04f84 Mon Sep 17 00:00:00 2001 From: computermouth Date: Mon, 28 Nov 2016 18:17:49 -0800 Subject: [PATCH] Exit upon probe fail --- chip-update-firmware.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/chip-update-firmware.sh b/chip-update-firmware.sh index 455331f..e79f32b 100755 --- a/chip-update-firmware.sh +++ b/chip-update-firmware.sh @@ -179,6 +179,7 @@ dl_probe || ( echo -e "\tDid you run the setup script in CHIP-SDK?" echo -e "\tDownload could be corrupt, it can be re-downloaded by adding the '-f' flag." echo -e "\n\n" + exit 1 ) ##pass