From 7534cac01e653408d47ce0fc2ef379eefdfc1891 Mon Sep 17 00:00:00 2001 From: "Eduardo Ramos Testillano (eramedu)" Date: Wed, 13 May 2020 18:32:39 +0200 Subject: [PATCH] Add error condition when building image Exit if any fail happens. --- tools/build-adml-http | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build-adml-http b/tools/build-adml-http index 5f635c2..cdb9fce 100755 --- a/tools/build-adml-http +++ b/tools/build-adml-http @@ -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 !" -- 2.20.1