diff --git a/install.sh b/install.sh index e2864bd..4eefec9 100644 --- a/install.sh +++ b/install.sh @@ -40,15 +40,13 @@ set +e res=$(churn agent setup --discovery "${CHURN_DISCOVERY}" 2>&1) set -e exit_code=$? -echo "Command output: $res" -echo "Exit code: $exit_code" if [[ $exit_code != 0 ]]; then if [[ "$res" != *"config file already exists"* ]] && [[ "$res" != *"already exists"* ]]; then echo "Error detected: $res" exit 1 else - echo "Ignoring expected 'already exists' error" + echo "Ignoring setup 'agent is already setup'" fi fi