Browse Source

fix format

pull/3620/head
neil 3 years ago
parent
commit
08438608d1
  1. 6
      dnsapi/dns_ovh.sh

6
dnsapi/dns_ovh.sh

@ -261,9 +261,9 @@ _get_root() {
return 1 return 1
fi fi
if ! _contains "$response" "This service does not exist" >/dev/null && \
! _contains "$response" "This call has not been granted" >/dev/null && \
! _contains "$response" "NOT_GRANTED_CALL" >/dev/null; then
if ! _contains "$response" "This service does not exist" >/dev/null &&
! _contains "$response" "This call has not been granted" >/dev/null &&
! _contains "$response" "NOT_GRANTED_CALL" >/dev/null; 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"
return 0 return 0

Loading…
Cancel
Save