diff --git a/install.sh b/install.sh index 57b9776..097ac6c 100644 --- a/install.sh +++ b/install.sh @@ -35,7 +35,7 @@ curl -L "https://api-minio.front.kjuulh.io/${S3_BUCKET}/releases/${APP_NAME}/${A # Make binary executable chmod +x "${INSTALL_DIR}/${BINARY_NAME}" -res=$(churn agent setup --discovery "${CHURN_DISCOVERY}") +res=$(churn agent setup --discovery "${CHURN_DISCOVERY}" 2>&1) exit_code=$? if [[ $exit_code != 0 ]]; then if [[ "$res" != *"config file already exists"* ]]; then