mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-19 20:09:16 +00:00
ngxproxy: remove output from ping command
This commit is contained in:
parent
8f3bc2e9ae
commit
a803fc3ee8
@ -15,7 +15,7 @@ done
|
||||
|
||||
while [ "$CONTAINER" == "" ]; do
|
||||
read -p "Container: " CONTAINER
|
||||
ping -c 1 ${CONTAINER}
|
||||
ping -c 1 ${CONTAINER} >/dev/null 2>&1
|
||||
if [ "$?" != "0" ]; then
|
||||
echo "WARNING: ${CONTAINER} seems to be unavailable."
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user