changed ping from google.com to github.com for users in countries where google is blocked
This commit is contained in:
parent
91393555d1
commit
845a3631c5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ get_ssid()
|
||||||
|
|
||||||
main()
|
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)"
|
echo "$(get_ssid)"
|
||||||
else
|
else
|
||||||
echo ' Offline'
|
echo ' Offline'
|
||||||
|
|
Loading…
Reference in a new issue