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