From 1013a6a9b286c90853a738f58e3579abd9a6e998 Mon Sep 17 00:00:00 2001 From: hamilcarBarca17 Date: Tue, 11 Apr 2023 12:29:43 -0600 Subject: [PATCH] Piped unnecessary backend command into /dev/null so it's not displayed in the UI --- aws-tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-tools.sh b/aws-tools.sh index b7911cd..f8c7f47 100644 --- a/aws-tools.sh +++ b/aws-tools.sh @@ -56,7 +56,7 @@ waitForInstanceToBecomeAvailable() { declare increment increment=$(echo "scale=1; 100/90" | bc) for ((i=0; i<=100; i=$(printf "%.0f" $(echo "scale=1; $i + $increment" | bc)))); do - if (timeout 10s nc -vz "$AWS_TEAM_BUILDING_EC2_INSTANCE_IP" 8443); then + if (timeout 10s nc -vz "$AWS_TEAM_BUILDING_EC2_INSTANCE_IP" 8443 2>&1 > /dev/null); then break fi echo "$i"