diff --git a/script/deploy.sh b/script/deploy.sh index 7b8b769..457fe94 100755 --- a/script/deploy.sh +++ b/script/deploy.sh @@ -119,7 +119,7 @@ setup_ssh() { gum confirm "Are these correct ?" || { get_valid_input "LIVE_TARGET_IP" "➡️ Provide the IP address of your machine in a NixOS live environment :" "192.168.1.100" "${IP_REGEX}"; get_valid_input "LIVE_TARGET_PASSWORD" "➡️ Provide the password of your machine in a NixOS live environment :" "password" "" "true" "true"; - continue; + return 0; } gum confirm "Retry connection ?" || { echo -e "\n ❌ Host unreachable or connection refused.";