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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user