Change the loop for sh.

This commit is contained in:
Martin Kammerlander 2019-12-12 16:23:42 +01:00
parent 953a9b1768
commit 3ccac629bc
1 changed files with 1 additions and 3 deletions

View File

@ -76,9 +76,7 @@ dns_kas_rm() {
params="$params&kas_auth_data=$KAS_Authdata"
params="$params&kas_action=delete_dns_settings"
# split it into a seperated list, if there where multiples entries made
records=($_record_id)
for i in "${records[@]}"; do
for i in $_record_id; do
params2="$params&var1=record_id"
params2="$params2&wert1=$i"
_debug2 "Wait for 10 seconds by default before calling KAS API."