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

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