mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
Change the loop for sh.
This commit is contained in:
parent
953a9b1768
commit
3ccac629bc
@ -76,9 +76,7 @@ dns_kas_rm() {
|
|||||||
params="$params&kas_auth_data=$KAS_Authdata"
|
params="$params&kas_auth_data=$KAS_Authdata"
|
||||||
params="$params&kas_action=delete_dns_settings"
|
params="$params&kas_action=delete_dns_settings"
|
||||||
|
|
||||||
# split it into a seperated list, if there where multiples entries made
|
for i in $_record_id; do
|
||||||
records=($_record_id)
|
|
||||||
for i in "${records[@]}"; do
|
|
||||||
params2="$params&var1=record_id"
|
params2="$params&var1=record_id"
|
||||||
params2="$params2&wert1=$i"
|
params2="$params2&wert1=$i"
|
||||||
_debug2 "Wait for 10 seconds by default before calling KAS API."
|
_debug2 "Wait for 10 seconds by default before calling KAS API."
|
||||||
|
Loading…
Reference in New Issue
Block a user