Add error condition when building image
[anna.git] / tools / build-adml-http
index 5f635c2..cdb9fce 100755 (executable)
@@ -25,7 +25,7 @@ echo ${AD} | ${REPO_DIR}/example/diameter/launcher/deploy-adml-http.sh
 
 echo
 echo "Generate docker image ..."
-build_image ${IMAGEDIR} ${TAG} ${IMAGEDIR}
+build_image ${IMAGEDIR} ${TAG} ${IMAGEDIR} || exit 1
 
 echo
 echo "Done !"