From 30e36fc3bc851f6e4410818fb32ba4848fbce318 Mon Sep 17 00:00:00 2001 From: Kenneth Jiang Date: Mon, 10 Jul 2023 14:58:59 +0100 Subject: [PATCH] Bug: the intention of linking to server is mistaken as reinstalling/repairing the setup --- scripts/obico.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/obico.sh b/scripts/obico.sh index 66b507f..63e0586 100644 --- a/scripts/obico.sh +++ b/scripts/obico.sh @@ -87,7 +87,7 @@ function moonraker_obico_setup_dialog() { local allowed_moonraker_obico_count=$(( moonraker_count - existing_moonraker_obico_count )) # Allow user to reinstall an incomplete installation. - if (( allowed_moonraker_obico_count == 0 && moonraker_count > 0 )); then + if (( allowed_moonraker_obico_count == 0 && moonraker_count > 0 )) && [[ $(get_moonraker_obico_status) != "Not linked!" ]]; then local yn while true; do echo "${yellow}Obico for Klipper is already installed.${white}"