Commit 606e59a5 authored by neilpang's avatar neilpang
Browse files
parent 0f26b1ea
...@@ -120,7 +120,7 @@ _get_root() { ...@@ -120,7 +120,7 @@ _get_root() {
return 1 return 1
fi fi
if _contains "$response" "\"name\": \"$h\","; then if _contains "$response" "\"name\": *\"$h\","; then
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p) _sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
_domain=$h _domain=$h
_debug "Getting domain id for $h" _debug "Getting domain id for $h"
......
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