removed trailing space
parent
d583de8c2e
commit
ff2a28a34f
|
@ -132,7 +132,7 @@ _get_zoneid() {
|
|||
if _hosttech_rest GET "zones?query=${_domain}"; then
|
||||
if [ "$(echo "$_response" | _egrep_o '"name":"[^"]*' | cut -d'"' -f4)" = "${_domain}" ]; then
|
||||
# Get the id of the zone in question
|
||||
_zoneid="$(echo "$_response" | _egrep_o '"id":[0-9]*' | cut -d':' -f2)"
|
||||
_zoneid="$(echo "$_response" | _egrep_o '"id":[0-9]*' | cut -d':' -f2)"
|
||||
if [ -z "$_zoneid" ]; then
|
||||
return 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue