From 38a0a9fba40c582daa68d2001598be5ce7421358 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 30 Nov 2024 11:44:51 +0100 Subject: [PATCH] feat: agent is already setup Signed-off-by: kjuulh --- install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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