changed ping from google.com to github.com for users in countries where google is blocked

This commit is contained in:
Dane Williams 2020-04-20 17:17:33 -07:00
parent 91393555d1
commit 845a3631c5

View file

@ -37,7 +37,7 @@ get_ssid()
main()
{
if ping -q -c 1 -W 1 google.com &>/dev/null; then
if ping -q -c 1 -W 1 github.com &>/dev/null; then
echo "$(get_ssid)"
else
echo ' Offline'