瀏覽代碼

[Update] Check internet connection via 1.1.1.1

andryyy 6 年之前
父節點
當前提交
aab692301e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -235,7 +235,7 @@ for option in ${CONFIG_ARRAY[@]}; do
 done
 
 echo -en "Checking internet connection... "
-curl -o /dev/null google.com -sm3
+curl -o /dev/null 1.1.1.1 -sm3
 if [[ $? != 0 ]]; then
   echo -e "\e[31mfailed\e[0m"
   exit 1