fix format

This commit is contained in:
neilpang 2021-04-17 22:09:59 +08:00
parent cfbc294832
commit f3682f0e8e
1 changed files with 0 additions and 3 deletions

View File

@ -5,7 +5,6 @@
# export ONECOM_User="username"
# export ONECOM_Password="password"
dns_one_add() {
fulldomain=$1
txtvalue=$2
@ -24,11 +23,9 @@ dns_one_add() {
subdomain="${_sub_domain}"
maindomain=${_domain}
_debug subdomain "$subdomain"
_debug maindomain "$maindomain"
#Check if the TXT exists
_dns_one_getrecord "TXT" "$subdomain" "$txtvalue"
if [ -n "$id" ]; then