mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-24 22:21:40 +00:00
fix
This commit is contained in:
parent
43011f3bfa
commit
05247dc4a4
@ -347,7 +347,7 @@ _pleskxml_get_root_domain() {
|
||||
|
||||
# test if the domain as provided is valid for splitting.
|
||||
|
||||
if ! _countdots "$original_full_domain_name"; then
|
||||
if [ "$(_countdots "$original_full_domain_name")" -eq 0 ]; then
|
||||
_err "Invalid domain. The ACME domain must contain at least two parts (aa.bb) to identify a domain and tld for the TXT record."
|
||||
return 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user