Commit ee1737a5 authored by neil's avatar neil
Browse files

minor, ignore empty -d value

parent 432c5897
......@@ -2284,7 +2284,8 @@ _process() {
--domain|-d)
_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'"
return 1
fi
......@@ -2298,6 +2299,8 @@ _process() {
_altdomains="$_altdomains,$_dvalue"
fi
fi
fi
shift
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment