From 36807684147d0d83338ddfd5a775e3925ab9e08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Numbus?= Date: Fri, 29 May 2026 15:50:28 +0200 Subject: [PATCH] Added quotes to var. --- script/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/deploy.sh b/script/deploy.sh index 996d2d1..37aa162 100755 --- a/script/deploy.sh +++ b/script/deploy.sh @@ -101,7 +101,7 @@ setup_ssh() { echod "\n ➡️ Copying SSH key to target host '${TARGET_USER}@${LIVE_TARGET_IP}'..." - if cat "~/.ssh/known_hosts" | grep ${LIVE_TARGET_IP}; then + if cat "~/.ssh/known_hosts" | grep "${LIVE_TARGET_IP}"; then echo -e "\n ⚠️ The SSH fingerprint for the selected IP address $(gum style --italic "\"${LIVE_TARGET_IP}\"") is not the same as the one in $(gum style --italic "\".ssh/known_hosts\""). This could occur for multiple reasons :