net/net.sh: Quite pre-emptible instance status check

This commit is contained in:
Trent Nelson 2021-01-15 12:02:20 -07:00 committed by mergify[bot]
parent 9a89689ad3
commit 7b67228bc1
1 changed files with 1 additions and 2 deletions

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