From 3c8762ffa2461108ca1a4ed9c25d820832728647 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Sun, 21 Aug 2016 04:33:26 -0500 Subject: [PATCH] dont use http:// when calling ping command --- iso-hotfix-utility | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iso-hotfix-utility b/iso-hotfix-utility index 4d2ed5e..20837d9 100644 --- a/iso-hotfix-utility +++ b/iso-hotfix-utility @@ -59,7 +59,7 @@ _2log() { _is_network_alive() { for site in google.com yandex.ru baidu.com do - ping -c1 "http://${site}" >/dev/null 2>&1 && return 0 + ping -c1 "${site}" >/dev/null 2>&1 && return 0 done return 1