Browse Source

indentation

pull/4219/head
Hobby-Student 3 years ago
committed by GitHub
parent
commit
940c3a7cc4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dnsapi/dns_kas.sh

4
dnsapi/dns_kas.sh

@ -47,7 +47,7 @@ dns_kas_add() {
return 1
elif _contains "$response" "<SOAP-ENV:Fault>"; then
faultstring="$(echo "$response" | tr -d '\n\r' | sed "s/<faultstring>/\n=> /g" | sed "s/<\/faultstring>/\n/g" | grep "=>" | sed "s/=> //g")"
case "$faultstring" in
case "${faultstring}" in
"record_already_exists")
_info "##KAS## The record already exists, which must not be a problem. Please check manually."
;;
@ -88,7 +88,7 @@ dns_kas_rm() {
return 1
elif _contains "$response" "<SOAP-ENV:Fault>"; then
faultstring="$(echo "$response" | tr -d '\n\r' | sed "s/<faultstring>/\n=> /g" | sed "s/<\/faultstring>/\n/g" | grep "=>" | sed "s/=> //g")"
case "$faultstring" in
case "${faultstring}" in
"record_id_not_found")
_info "##KAS## The record was not found, which must not be a problem. Please check manually."
;;

Loading…
Cancel
Save