acme: fix the 'Unknown parameter' problem caused by acme_server

Signed-off-by: Meano <meano@foxmail.com>
This commit is contained in:
Meano
2020-10-19 00:56:31 +08:00
parent 8d328d44c0
commit 0a23f1f066
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ issue_cert()
[ -n "$ACCOUNT_EMAIL" ] && acme_args="$acme_args --accountemail $ACCOUNT_EMAIL"
[ "$use_staging" -eq "1" ] && acme_args="$acme_args --staging"
if [ -n $acme_server ]; then
if [ -n "$acme_server" ]; then
log "Using custom ACME server URL"
acme_args="$acme_args --server $acme_server"
fi