Skip to content

Commit

Permalink
Merge pull request #6159 from acmesh-official/dev
Browse files Browse the repository at this point in the history
fix format
  • Loading branch information
Neilpang authored Dec 10, 2024
2 parents d5b5bce + 3fbdb7a commit 40dd085
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 40dd085

Please sign in to comment.