ngxproxy: remove output from ping command

This commit is contained in:
Wonderfall 2016-05-30 12:34:26 +02:00
parent 8f3bc2e9ae
commit a803fc3ee8

View File

@ -15,7 +15,7 @@ done
while [ "$CONTAINER" == "" ]; do while [ "$CONTAINER" == "" ]; do
read -p "Container: " CONTAINER read -p "Container: " CONTAINER
ping -c 1 ${CONTAINER} ping -c 1 ${CONTAINER} >/dev/null 2>&1
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
echo "WARNING: ${CONTAINER} seems to be unavailable." echo "WARNING: ${CONTAINER} seems to be unavailable."
fi fi