Browse Source

Using _sleep() instead of sleep

pull/2001/head
Oliver Dick 6 years ago
parent
commit
089823785e
  1. 4
      dnsapi/dns_hostingde.sh

4
dnsapi/dns_hostingde.sh

@ -90,7 +90,7 @@ _hostingde_addRecord() {
_hostingde_getZoneStatus _hostingde_getZoneStatus
_debug "Result of zoneStatus: '${zoneStatus}'" _debug "Result of zoneStatus: '${zoneStatus}'"
while [ "${zoneStatus}" != "active" ]; do while [ "${zoneStatus}" != "active" ]; do
sleep 5
_sleep 5
_hostingde_getZoneStatus _hostingde_getZoneStatus
_debug "Result of zoneStatus: '${zoneStatus}'" _debug "Result of zoneStatus: '${zoneStatus}'"
done done
@ -114,7 +114,7 @@ _hostingde_removeRecord() {
_hostingde_getZoneStatus _hostingde_getZoneStatus
_debug "Result of zoneStatus: '$zoneStatus'" _debug "Result of zoneStatus: '$zoneStatus'"
while [ "$zoneStatus" != "active" ]; do while [ "$zoneStatus" != "active" ]; do
sleep 5
_sleep 5
_hostingde_getZoneStatus _hostingde_getZoneStatus
_debug "Result of zoneStatus: '$zoneStatus'" _debug "Result of zoneStatus: '$zoneStatus'"
done done

Loading…
Cancel
Save