summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-11-29 15:06:29 -0500
committerDan Radez <dradez@redhat.com>2016-11-30 14:56:30 -0500
commite9645253d2e6814fec956fd6c6036ee709ec9a3f (patch)
tree2c5e8525db6317f40198f348073646acda101a89 /lib
parent71b677dcf162eb6eb22f116ee1b08714efb24db3 (diff)
adding option to pass dnslookup site
Change-Id: I73d8e92b97b25b39010380d09f7fad3c65795869 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/common-functions.sh2
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