feat: stderr to stdout as well
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-11-30 11:37:28 +01:00
parent 569fee52e6
commit eeabeda036
Signed by: kjuulh
GPG Key ID: D85D7535F18F35FA

View File

@ -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