Using _sleep() instead of sleep

This commit is contained in:
Oliver Dick 2019-01-03 10:32:59 +01:00
parent cd4f29135b
commit 089823785e
1 changed files with 2 additions and 2 deletions

View File

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