Skip to content

Commit cb1464b

Browse files
authored
Fix (#276)
1 parent e54e9ae commit cb1464b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/hetzner/check_ssh_connection.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SCRIPT_PATH="$(cd "$(dirname "$0")" && pwd)"
66

77
SERVER_NAME=${SERVER_NAME:-test-server-1}
88

9-
SERVER_IP=$("$SCRIPT_PATH/get_public_ip.sh" "${SERVER_NAME}")
9+
SERVER_IP=$(bash "$SCRIPT_PATH/get_public_ip.sh" "${SERVER_NAME}")
1010

1111
echo "Server IP: ${SERVER_IP}"
1212

tools/hetzner/create_and_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ for ((i=1; i<=max_retries; i++)); do
4646
done
4747

4848
# Get server IP
49-
SERVER_IP=$("${SCRIPTPATH}/get_public_ip.sh" "${SERVER_NAME}")
49+
SERVER_IP=$(bash "${SCRIPTPATH}/get_public_ip.sh" "${SERVER_NAME}")
5050

5151
echo "Server IP: ${SERVER_IP}"
5252

0 commit comments

Comments
 (0)