mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-06 05:34:14 +00:00
error in add more domain
This commit is contained in:
parent
6489a48e1f
commit
e532fcdcde
7
acme.sh
7
acme.sh
@ -4170,6 +4170,13 @@ _process() {
|
|||||||
_err "'$_dvalue' is not a valid domain for parameter '$1'"
|
_err "'$_dvalue' is not a valid domain for parameter '$1'"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
_sepexis=$(echo $_dvalue | grep ",")
|
||||||
|
if [ _sepexis ]; then
|
||||||
|
_err "'$_dvalue' is not a valid domain for parameter '$1', please use more command to add domains"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
if _is_idn "$_dvalue" && ! _exists idn; then
|
if _is_idn "$_dvalue" && ! _exists idn; then
|
||||||
_err "It seems that $_dvalue is an IDN( Internationalized Domain Names), please install 'idn' command first."
|
_err "It seems that $_dvalue is an IDN( Internationalized Domain Names), please install 'idn' command first."
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user