diff --git a/evil-droid b/evil-droid index 5e1229f..83cf4f6 100644 --- a/evil-droid +++ b/evil-droid @@ -37,17 +37,9 @@ clear # check internet function checkinternet() { - ping -c 1 google.com > /dev/null 2>&1 - if [[ "$?" != 0 ]] + ping -c 1 chrome.com > /dev/null 2>&1 + if [[ "$?" != 1 ]] then - echo -e $yellow " Checking For Internet: ${RedF}FAILED" - echo - echo -e $red "This Script Needs An Active Internet Connection" - echo - echo -e $yellow " Evil-Droid Exit" - echo && sleep 2 - exit - else echo -e $yellow " Checking For Internet: ${LighGreenF}CONNECTED" fi }