Using _sleep() instead of sleep
This commit is contained in:
parent
cd4f29135b
commit
089823785e
@ -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…
Reference in New Issue
Block a user