Update UpdateSSLCert.sh

Fix #1
This commit is contained in:
Zhong Lufan (钟路帆) 2024-02-20 18:20:32 +08:00 committed by GitHub
parent b3c89b7755
commit efc2871dd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ ACME_ENV_LIST=(
)
# 检查环境变量是否存在
for value in "${ACME_ENV_LIST[@]}" ; do
[[ ! -v "$value" ]] || exit 1
[[ -v "$value" ]] || exit 1
done
unset value