mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-05 23:24:54 +00:00
Change from ((i++)) to i=$(_math $i + 1)
This commit is contained in:
parent
23a6ce2795
commit
ea8dfd4a3e
@ -81,7 +81,7 @@ dns_freedns_add() {
|
||||
i=0
|
||||
found=0
|
||||
while [ $i -lt $lines ]; do
|
||||
((i++))
|
||||
i=$(_math $i + 1 )
|
||||
line="$(echo "$subdomain_csv" | cut -d "$nl" -f $i)"
|
||||
tmp="$(echo "$line" | cut -d ',' -f 1)"
|
||||
if [ $found = 0 ] && _startswith "$tmp" "<td>$top_domain"; then
|
||||
@ -213,7 +213,7 @@ dns_freedns_rm() {
|
||||
i=0
|
||||
found=0
|
||||
while [ $i -lt $lines ]; do
|
||||
((i++))
|
||||
i=$(_math $i + 1 )
|
||||
line="$(echo "$subdomain_csv" | cut -d "$nl" -f $i)"
|
||||
dns_href="$(echo "$line" | cut -d ',' -f 2)"
|
||||
tmp=${dns_href#*>}
|
||||
|
Loading…
x
Reference in New Issue
Block a user