Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
08982378
Commit
08982378
authored
Jan 03, 2019
by
Oliver Dick
Browse files
Using _sleep() instead of sleep
parent
cd4f2913
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_hostingde.sh
View file @
08982378
...
@@ -90,7 +90,7 @@ _hostingde_addRecord() {
...
@@ -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() {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment