Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
dont use http:// when calling ping command
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Aug 21, 2016
1 parent ed9c050 commit 3c8762f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iso-hotfix-utility
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c8762f

Please sign in to comment.