From 7a2405a2ab1e05280506415562eddfda575a3abf Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Fri, 12 Mar 2021 18:47:15 +0100 Subject: [PATCH] fix: [myc-update] bail out when charm apply fails. Signed-off-by: Valentin Lab --- bin/myc-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/myc-update b/bin/myc-update index 34b757d..70997f4 100755 --- a/bin/myc-update +++ b/bin/myc-update @@ -46,7 +46,7 @@ cd /opt/apps/0k-charms git pull -r EOF -charm --debug apply docker-host +charm --debug apply docker-host || exit 1 ## there seem to be an error now within compose when trying to download let's encrypt image. Wrap -d "Updating some docker images" <