Browse Source

fix: [sh] fixed issues with shellcheck/shfmt

pull/6466/head
Steve Clement 3 months ago
parent
commit
109100b2c2
No known key found for this signature in database GPG Key ID: 69A20F509BE4AEE9
  1. 4
      dnsapi/dns_restena.sh

4
dnsapi/dns_restena.sh

@ -49,7 +49,7 @@ dns_restena_add() {
_saveaccountconf_mutable RESTENA_ZONE "$RESTENA_ZONE"
# Extract the label part by removing the zone suffix
label="${fulldomain%.$RESTENA_ZONE}"
label="${fulldomain%."$RESTENA_ZONE"}"
# This is needed to wrap the request in double quotes
data="\\\"$txtvalue\\\""
@ -107,7 +107,7 @@ dns_restena_rm() {
fi
# Extract the label part by removing the zone suffix
label="${fulldomain%.$RESTENA_ZONE}"
label="${fulldomain%."$RESTENA_ZONE"}"
_info "Removing TXT record via Restena API..."
_debug "Zone: $RESTENA_ZONE"

Loading…
Cancel
Save