net/net.sh: Quite pre-emptible instance status check (#14618)

(cherry picked from commit 7b67228bc1)

Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
mergify[bot]
2021-01-15 21:19:33 +00:00
committed by GitHub
parent 3d8cadebc0
commit 1a848e22ea

View File

@ -723,8 +723,7 @@ checkPremptibleInstances() {
# immediately after its successfully pinged.
for ipAddress in "${validatorIpList[@]}"; do
(
set -x
timeout 5s ping -c 1 "$ipAddress" | tr - _
timeout 5s ping -c 1 "$ipAddress" | tr - _ &>/dev/null
) || {
cat <<EOF