Update getdate.sh

Fix a typo.
This commit is contained in:
管子工具箱 2021-06-22 13:42:39 +08:00 committed by GitHub
parent 1512e7b175
commit 2a2e1b546c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -933,7 +933,7 @@ userguide(){
[ "$res" = 1 ] && checkupdate && getcrt [ "$res" = 1 ] && checkupdate && getcrt
fi fi
#设置加密DNS #设置加密DNS
$clashdir/start.sh webget /tmp/ssl_test https://www,baidu.com echooff rediron skipceroff $clashdir/start.sh webget /tmp/ssl_test https://www.baidu.com echooff rediron skipceroff
if [ "$?" = "0" ];then if [ "$?" = "0" ];then
dns_nameserver='https://223.5.5.5/dns-query, https://doh.pub/dns-query, tls://dns.rubyfish.cn:853' dns_nameserver='https://223.5.5.5/dns-query, https://doh.pub/dns-query, tls://dns.rubyfish.cn:853'
dns_fallback='https://1.0.0.1/dns-query, https://8.8.4.4/dns-query, https://doh.opendns.com/dns-query' dns_fallback='https://1.0.0.1/dns-query, https://8.8.4.4/dns-query, https://doh.opendns.com/dns-query'
@ -1038,4 +1038,4 @@ testcommand(){
errornum errornum
clashsh clashsh
fi fi
} }