feat: this should work
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:36:10 +01:00
parent b0ec41fa93
commit 569fee52e6
Signed by: kjuulh
GPG Key ID: D85D7535F18F35FA

View File

@ -38,7 +38,7 @@ chmod +x "${INSTALL_DIR}/${BINARY_NAME}"
res=$(churn agent setup --discovery "${CHURN_DISCOVERY}")
exit_code=$?
if [[ $exit_code != 0 ]]; then
if [[ "$res" != *"Error: config file already exists"* ]]; then
if [[ "$res" != *"config file already exists"* ]]; then
echo "$res"
exit 1
fi