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>
diff --git a/sms-service/bin/build_sms_image.sh b/sms-service/bin/build_sms_image.sh
index 2a98709..5a7817d 100755
--- a/sms-service/bin/build_sms_image.sh
+++ b/sms-service/bin/build_sms_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}"