diff options
author | 2016-12-01 14:33:10 +0000 | |
---|---|---|
committer | 2016-12-01 14:33:10 +0000 | |
commit | 0608cff7a495e131d2e187aa073f8a32153345c0 (patch) | |
tree | 112719a27cdd9d904cf445a2cee706f551726009 /lib/common-functions.sh | |
parent | 199e92bf52cc75046eb41daa917bf91a65708c9f (diff) | |
parent | e9645253d2e6814fec956fd6c6036ee709ec9a3f (diff) |
Merge "adding option to pass dnslookup site"
Diffstat (limited to 'lib/common-functions.sh')
-rw-r--r-- | lib/common-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions.sh b/lib/common-functions.sh index 2d113450..709dbf97 100644 --- a/lib/common-functions.sh +++ b/lib/common-functions.sh @@ -281,7 +281,7 @@ contains_prefix() { #params: none function verify_internet { if ping -c 2 $ping_site > /dev/null; then - if ping -c 2 www.google.com > /dev/null; then + if ping -c 2 $dnslookup_site > /dev/null; then echo "${blue}Internet connectivity detected${reset}" return 0 else |