Explorar o código

add more sleep for ovh

neilpang %!s(int64=7) %!d(string=hai) anos
pai
achega
01cc2e13d8
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      dnsapi/dns_ovh.sh

+ 2 - 1
dnsapi/dns_ovh.sh

@@ -149,7 +149,8 @@ dns_ovh_add() {
     if _contains "$response" "$txtvalue"; then
       _ovh_rest POST "domain/zone/$_domain/refresh"
       _debug "Refresh:$response"
-      _info "Added"
+      _info "Added, sleep 10 seconds."
+      _sleep 10
       return 0
     fi
   fi