quieten noisy network connect test

This commit is contained in:
Trevor Batley 2023-09-15 16:58:45 +10:00
parent 1652f57beb
commit 338c05bb56

View File

@ -194,7 +194,7 @@ fi
deploy_builder () { deploy_builder () {
local FQDN=$1 local FQDN=$1
# check if server available on port 22 # check if server available on port 22
until (nc -z $FQDN 22) until (nc -z $FQDN 22 2>/dev/null)
do do
echo "I cannot connect to $FQDN! Is it online? " echo "I cannot connect to $FQDN! Is it online? "
echo "Options:" echo "Options:"