Browse Source

fix format

pull/1225/head
neilpang 7 years ago
parent
commit
06a2e5fc82
  1. 3
      dnsapi/dns_ovh.sh

3
dnsapi/dns_ovh.sh

@ -78,7 +78,6 @@ _ovh_get_api() {
esac esac
} }
_initAuth() { _initAuth() {
if [ -z "$OVH_AK" ] || [ -z "$OVH_AS" ]; then if [ -z "$OVH_AK" ] || [ -z "$OVH_AS" ]; then
OVH_AK="" OVH_AK=""
@ -181,7 +180,7 @@ dns_ovh_rm() {
return 1 return 1
fi fi
for rid in $(echo "$response" | tr '[,]' ' '); do
for rid in $(echo "$response" | tr '][,' ' '); do
_debug rid "$rid" _debug rid "$rid"
if ! _ovh_rest GET "domain/zone/$_domain/record/$rid"; then if ! _ovh_rest GET "domain/zone/$_domain/record/$rid"; then
return 1 return 1

Loading…
Cancel
Save