refine script

This commit is contained in:
Maxime Bloch 2020-07-24 23:34:07 +02:00
parent 423ee4d9d9
commit 258a11fb2e

View file

@ -4,4 +4,4 @@ if [ $# -ne 2 ]
exit 1
fi
while ! nc -z $1 $2; do echo "Not yet available, waiting" && sleep 1; done; echo "Done"
while ! nc -z $1 $2; do echo "$1:$2 not yet available, waiting" && sleep 1; done; echo "Done"