From ea55cac8bb27ca2069a53a4a9b30193baa1dcfeb Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 15 Jan 2021 21:13:02 +0000 Subject: [PATCH] net/net.sh: Quite pre-emptible instance status check (#14617) (cherry picked from commit 7b67228bc12c6c9ed78ef1db8595ae359a86ec45) Co-authored-by: Trent Nelson --- net/net.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/net.sh b/net/net.sh index 1009b0ffbe..1140925b0f 100755 --- a/net/net.sh +++ b/net/net.sh @@ -716,8 +716,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 <