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"