Change validation text for new clone

This commit is contained in:
2025-08-05 12:55:43 +09:00
parent 788064d019
commit 513705cc40

View File

@@ -47,7 +47,7 @@ else
SSH_TEST=("${SUDO_COMMAND[@]}" "ssh" "${REMOTE_HOST}");
result=$("${SSH_TEST[@]}" 2>&1);
# this can be key or deploy key
validate_string="You've successfully authenticated with the "
validate_string="You've successfully authenticated "
if [[ "$result" != *"$validate_string"* ]]; then
echo "Could not connect to ${REMOTE_HOST}: ${result}";
error=1;