fix termux ping

This commit is contained in:
Shihaam Abdul Rahman 2021-05-20 09:10:40 +05:00
parent f523d0baea
commit e26f1b0611

View File

@ -60,7 +60,7 @@ initialize(){
}
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%" ]
then
echo ${red}Check your connection and try again.${reset}