fix format
parent
2997a15ba8
commit
3fbdb7a007
|
@ -88,7 +88,7 @@ _get_root() {
|
||||||
|
|
||||||
i=1
|
i=1
|
||||||
while true; do
|
while true; do
|
||||||
h=$(printf "%s" "$domain" | cut -d . -f $i-100)
|
h=$(printf "%s" "$domain" | cut -d . -f "$i"-100)
|
||||||
_debug h "$h"
|
_debug h "$h"
|
||||||
if [ -z "$h" ]; then
|
if [ -z "$h" ]; then
|
||||||
#not valid
|
#not valid
|
||||||
|
|
|
@ -100,7 +100,7 @@ _zoneedit_api() {
|
||||||
|
|
||||||
# Execute request
|
# Execute request
|
||||||
i=3 # Tries
|
i=3 # Tries
|
||||||
while [ $i -gt 0 ]; do
|
while [ "$i" -gt 0 ]; do
|
||||||
i=$(_math "$i" - 1)
|
i=$(_math "$i" - 1)
|
||||||
|
|
||||||
if ! response=$(_get "$geturl"); then
|
if ! response=$(_get "$geturl"); then
|
||||||
|
|
Loading…
Reference in New Issue