mirror of
				https://github.com/hoellen/dockerfiles.git
				synced 2025-10-31 14:26:57 +00:00 
			
		
		
		
	ngxproxy: remove output from ping command
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user