fix termux ping
This commit is contained in:
		@@ -60,7 +60,7 @@ initialize(){
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
check_connection(){
 | 
					check_connection(){
 | 
				
			||||||
	PING=$(ping www.bankofmaldives.com.mv -c 2 2> /dev/null | grep -oE 0%)
 | 
						PING=$(ping -c 1 www.bankofmaldives.com.mv 2> /dev/null | grep -oE 0%)
 | 
				
			||||||
	if [ "$PING" != "0%" ]
 | 
						if [ "$PING" != "0%" ]
 | 
				
			||||||
	then
 | 
						then
 | 
				
			||||||
		echo ${red}Check your connection and try again.${reset}
 | 
							echo ${red}Check your connection and try again.${reset}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user