fix shfmt
This commit is contained in:
parent
912aa58227
commit
fa5f2f2c34
@ -21,13 +21,12 @@ dns_dnsever_add() {
|
|||||||
_debug fulldomain "$fulldomain"
|
_debug fulldomain "$fulldomain"
|
||||||
_debug txtvalue "$txtvalue"
|
_debug txtvalue "$txtvalue"
|
||||||
|
|
||||||
|
|
||||||
DNSEVER_ID="${DNSEVER_ID:-$(_readaccountconf_mutable DNSEVER_ID)}"
|
DNSEVER_ID="${DNSEVER_ID:-$(_readaccountconf_mutable DNSEVER_ID)}"
|
||||||
DNSEVER_PW="${DNSEVER_PW:-$(_readaccountconf_mutable DNSEVER_PW)}"
|
DNSEVER_PW="${DNSEVER_PW:-$(_readaccountconf_mutable DNSEVER_PW)}"
|
||||||
|
|
||||||
if [ "$DNSEVER_ID" ]; then
|
if [ "$DNSEVER_ID" ]; then
|
||||||
_saveaccountconf_mutable DNSEVER_ID "$DNSEVER_ID"
|
_saveaccountconf_mutable DNSEVER_ID "$DNSEVER_ID"
|
||||||
_saveaccountconf_mutable DNSEVER_PW "$DNSEVER_PW"
|
_saveaccountconf_mutable DNSEVER_PW "$DNSEVER_PW"
|
||||||
|
|
||||||
else
|
else
|
||||||
if [ -z "$DNSEVER_ID" ] || [ -z "$DNSEVER_PW" ]; then
|
if [ -z "$DNSEVER_ID" ] || [ -z "$DNSEVER_PW" ]; then
|
||||||
@ -42,8 +41,6 @@ dns_dnsever_add() {
|
|||||||
|
|
||||||
#save the api key and email to the account conf file.
|
#save the api key and email to the account conf file.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -56,7 +53,6 @@ dns_dnsever_rm() {
|
|||||||
_debug fulldomain "$fulldomain"
|
_debug fulldomain "$fulldomain"
|
||||||
_debug txtvalue "$txtvalue"
|
_debug txtvalue "$txtvalue"
|
||||||
|
|
||||||
|
|
||||||
DNSEVER_ID="${DNSEVER_ID:-$(_readaccountconf_mutable DNSEVER_ID)}"
|
DNSEVER_ID="${DNSEVER_ID:-$(_readaccountconf_mutable DNSEVER_ID)}"
|
||||||
DNSEVER_PW="${DNSEVER_PW:-$(_readaccountconf_mutable DNSEVER_PW)}"
|
DNSEVER_PW="${DNSEVER_PW:-$(_readaccountconf_mutable DNSEVER_PW)}"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user