Commit ec675b9a authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #858 from yadutaf/jt-dns-ovh-scoped-credentials

Support OVH credentials scoped to a specific zone
parents ed3dda7d 486e77f4
......@@ -238,7 +238,7 @@ _get_root() {
return 1
fi
if ! _contains "$response" "This service does not exist" >/dev/null; then
if ! _contains "$response" "This service does not exist" >/dev/null && ! _contains "$response" "NOT_GRANTED_CALL" >/dev/null; then
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
_domain="$h"
return 0
......
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