Fix while loop
This commit is contained in:
@@ -733,7 +733,7 @@ postrun_action() {
|
|||||||
|
|
||||||
FOUND="false"
|
FOUND="false"
|
||||||
i="0"
|
i="0"
|
||||||
while FOUND="false"; do
|
while [[ "${FOUND}" == "false" ]]; do
|
||||||
if ping -c1 -W1 $HOME_SERVER_IP >/dev/null 2>&1; then
|
if ping -c1 -W1 $HOME_SERVER_IP >/dev/null 2>&1; then
|
||||||
FOUND="true"
|
FOUND="true"
|
||||||
echo -e "\n✅ Ping ${HOME_SERVER_IP} successful ! Continuing..."
|
echo -e "\n✅ Ping ${HOME_SERVER_IP} successful ! Continuing..."
|
||||||
|
|||||||
Reference in New Issue
Block a user