summaryrefslogtreecommitdiffstats
path: root/sms-service/bin/build_quorum_image.sh
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-06-05 17:19:12 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2018-06-05 17:19:17 -0700
commitc351f2e46607bac8e244b357777c24460722288b (patch)
tree6ca8314a176ae7878c8f417481182bf9e721a655 /sms-service/bin/build_quorum_image.sh
parentb9b21c0746d97d9efca9f6e365df867e0dcd8870 (diff)
Propagate error upward
Build was not catching error Now throwing the error up the chain Issue-ID: AAF-346 Change-Id: I5a1729097f573d0169c4485075183d40c8d31db2 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'sms-service/bin/build_quorum_image.sh')
-rwxr-xr-xsms-service/bin/build_quorum_image.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sms-service/bin/build_quorum_image.sh b/sms-service/bin/build_quorum_image.sh
index 72932e5..8440430 100755
--- a/sms-service/bin/build_quorum_image.sh
+++ b/sms-service/bin/build_quorum_image.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
DIRNAME=`dirname $0`
DOCKER_BUILD_DIR=`cd $DIRNAME/; pwd`
echo "DOCKER_BUILD_DIR=${DOCKER_BUILD_DIR}"