Bug: the intention of linking to server is mistaken as reinstalling/repairing the setup

This commit is contained in:
Kenneth Jiang
2023-07-10 14:58:59 +01:00
parent 3844fb4238
commit 30e36fc3bc

View File

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