Update start.sh

This commit is contained in:
BrightHewei 2021-10-29 19:42:00 +08:00 committed by GitHub
parent 1dd8fcbcd5
commit 26a5628a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,8 @@ URL='更改为你的clash订阅地址'
# 检查url是否有效
Text1="Clash订阅地址可访问"
Text2="Clash订阅地址不可访问"
curl -s --head $URL | head -n 1 | grep 'HTTP/1.[01] [23]..' > /dev/null
# curl -s --head $URL | head -n 1 | grep 'HTTP/1.[01] [23]..' > /dev/null
wget -q -O /dev/null $URL
if_success $Text1 $Text2
# 临时取消环境变量