From b7af5f08d663218fadceacdefb143d299c8bf273 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 16 Oct 2019 10:35:41 -0700 Subject: [PATCH] Avoid more non-standard ping. macOS :broken_heart: --- net/net.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/net.sh b/net/net.sh index 876d1c3780..7a997dfa6a 100755 --- a/net/net.sh +++ b/net/net.sh @@ -851,7 +851,7 @@ checkPremptibleInstances() { for ipAddress in "${fullnodeIpList[@]}"; do ( set -x - ping -c 1 -t 4 "$ipAddress" + timeout 5s ping -c 1 "$ipAddress" ) || { cat <