From f7c7aef96b203e62bb23f9876043848e985a862a Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 30 Nov 2024 11:43:45 +0100 Subject: [PATCH] feat: allow errors Signed-off-by: kjuulh --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index b446a3c..e2864bd 100644 --- a/install.sh +++ b/install.sh @@ -36,7 +36,9 @@ curl -L "https://api-minio.front.kjuulh.io/${S3_BUCKET}/releases/${APP_NAME}/${A chmod +x "${INSTALL_DIR}/${BINARY_NAME}" echo "Starting churn agent setup..." +set +e res=$(churn agent setup --discovery "${CHURN_DISCOVERY}" 2>&1) +set -e exit_code=$? echo "Command output: $res" echo "Exit code: $exit_code"