net/net.sh: Quite pre-emptible instance status check
This commit is contained in:
parent
9a89689ad3
commit
7b67228bc1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue