mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 15:02:03 +00:00
minor, ignore empty -d value
This commit is contained in:
parent
432c589722
commit
ee1737a52e
5
acme.sh
5
acme.sh
@ -2284,7 +2284,8 @@ _process() {
|
|||||||
--domain|-d)
|
--domain|-d)
|
||||||
_dvalue="$2"
|
_dvalue="$2"
|
||||||
|
|
||||||
if [ -z "$_dvalue" ] || _startswith "$_dvalue" "-" ; then
|
if [ "$_dvalue" ] ; then
|
||||||
|
if _startswith "$_dvalue" "-" ; then
|
||||||
_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
|
||||||
@ -2298,6 +2299,8 @@ _process() {
|
|||||||
_altdomains="$_altdomains,$_dvalue"
|
_altdomains="$_altdomains,$_dvalue"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user