summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2016-01-19 10:55:39 +0000
committerBernard Ogden <bernie.ogden@linaro.org>2016-01-26 09:48:24 +0000
commit90c636b48c2fa3d752d23403bbed6bfeff7eae6d (patch)
treef2c6d03ab93399fa3ebd95b7dfec9736278e778b
parent203923938cfb40b9bdd743054fec61dcf5790047 (diff)
Fail on error
Change-Id: If0a2a144d1794357650ebcd2a89cfa5d932d7ee8
-rwxr-xr-xlb2img.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lb2img.sh b/lb2img.sh
index e583a1d..319889d 100755
--- a/lb2img.sh
+++ b/lb2img.sh
@@ -4,6 +4,8 @@
# Convert tarball (live-build or other) to raw image
+set -e
+
PROGNAME=$(basename $0)
TARGZFILE=
IMGFILE=