Browse Source

fix format

pull/6159/head
neil 2 weeks ago
parent
commit
3fbdb7a007
  1. 2
      dnsapi/dns_fornex.sh
  2. 2
      dnsapi/dns_zoneedit.sh

2
dnsapi/dns_fornex.sh

@ -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

2
dnsapi/dns_zoneedit.sh

@ -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…
Cancel
Save