Update dns_fornex.sh

pull/3997/head
neil 3 years ago committed by GitHub
parent a300df0020
commit 2b891f7f1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,6 +107,7 @@ _get_root() {
} }
_Fornex_API() { _Fornex_API() {
FORNEX_API_KEY="${FORNEX_API_KEY:-$(_readaccountconf_mutable FORNEX_API_KEY)}"
if [ -z "$FORNEX_API_KEY" ]; then if [ -z "$FORNEX_API_KEY" ]; then
FORNEX_API_KEY="" FORNEX_API_KEY=""
@ -116,7 +117,7 @@ _Fornex_API() {
return 1 return 1
fi fi
_saveaccountconf FORNEX_API_KEY "$FORNEX_API_KEY" _saveaccountconf_mutable FORNEX_API_KEY "$FORNEX_API_KEY"
} }
#method method action data #method method action data

Loading…
Cancel
Save