Browse Source

Make use of _readaccountconf_mutable

pull/4156/head
Niklas Karoly 3 years ago
parent
commit
e30faba320
  1. 2
      dnsapi/dns_nodion.sh

2
dnsapi/dns_nodion.sh

@ -13,6 +13,8 @@ dns_nodion_add() {
fulldomain=$1 fulldomain=$1
txtvalue=$2 txtvalue=$2
NODION_API_KEY="${NODION_API_KEY:-$(_readaccountconf_mutable NODION_API_KEY)}"
if [ -z "$NODION_API_KEY" ]; then if [ -z "$NODION_API_KEY" ]; then
NODION_API_KEY="" NODION_API_KEY=""
_err "You didn't specify a NODION_API_KEY." _err "You didn't specify a NODION_API_KEY."

Loading…
Cancel
Save