Index: get_latest_image.sh |
diff --git a/get_latest_image.sh b/get_latest_image.sh |
index f8ed1e5f866ea74b518ddfd68b3ea3d8237f24de..1c5d90f20e5cc1ec879170e7be14d67ad73b4550 100755 |
--- a/get_latest_image.sh |
+++ b/get_latest_image.sh |
@@ -21,8 +21,7 @@ eval set -- "${FLAGS_ARGV}" |
# Check on the board that they are trying to set up. |
if [ -z "$FLAGS_board" ] ; then |
- echo "Error: --board required." |
- exit 1 |
+ die "Error: --board required." |
fi |
IMAGES_DIR="${DEFAULT_BUILD_ROOT}/images/${FLAGS_board}" |