Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Dec 10, 2024
1 parent 2997a15 commit 3fbdb7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dnsapi/dns_fornex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dnsapi/dns_zoneedit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3fbdb7a

Please sign in to comment.