fix(脚本): 修改证书过期导致的无限死循环

pull/534/merge
mack-a 2021-01-21 16:36:35 +08:00
parent 203268f226
commit 5bca90e05e
1 changed files with 3 additions and 2 deletions

View File

@ -574,7 +574,8 @@ installTLS() {
echoContent green " ---> 检测到证书"
checkTLStatus "${tlsDomain}"
if [[ "${tlsStatus}" == "已过期" ]]; then
rm -rf "$HOME/.acme.sh/${tlsDomain}_ecc/*"
rm -rf $HOME/.acme.sh/${tlsDomain}_ecc/*
rm -rf /etc/v2ray-agent/tls/${tlsDomain}*
installTLS "$1"
else
echoContent green " ---> 证书有效"
@ -3084,7 +3085,7 @@ menu() {
cd "$HOME" || exit
echoContent red "\n=============================================================="
echoContent green "作者mack-a"
echoContent green "当前版本v2.3.5"
echoContent green "当前版本v2.3.6"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:七合一共存脚本"
echoContent red "=============================================================="