mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 05:42:43 +00:00
fix Le_Webroot check
Go for other options if it is equal to "no", not if it merely contains "no".
This commit is contained in:
parent
01f54558b9
commit
fe2e209d1f
2
acme.sh
2
acme.sh
@ -1057,7 +1057,7 @@ issue() {
|
|||||||
Le_Keylength=""
|
Le_Keylength=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if _contains "$Le_Webroot" "no" ; then
|
if [ "$Le_Webroot" = "no" ] ; then
|
||||||
_info "Standalone mode."
|
_info "Standalone mode."
|
||||||
if ! _exists "nc" ; then
|
if ! _exists "nc" ; then
|
||||||
_err "Please install netcat(nc) tools first."
|
_err "Please install netcat(nc) tools first."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user