Update dns_hosttech.sh

This commit is contained in:
baerengraben 2023-11-18 13:15:24 +01:00 committed by GitHub
parent aa560bd097
commit 91cb32eaeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,12 +45,11 @@ dns_hosttech_add() {
return 1 return 1
} }
#fulldomain txtvalue
dns_hosttech_rm() { dns_hosttech_rm() {
fulldomain=$1 fulldomain=$1
txtvalue=$2 txtvalue=$2
Hosttech_Key="${Hosttech_Key:-$(_readaccountconf_mutable Hosttech_Key)}" Hosttech_Key="${Hosttech_Key:-$(_readaccountconf_mutable Hosttech_Key)}"
if [ -z "$Hosttech_Key" ]; then if [ -z "$Hosttech_Key" ]; then
Hosttech_Key="" Hosttech_Key=""
_err "You didn't specify a Hosttech api key." _err "You didn't specify a Hosttech api key."