Unverified Commit 2b891f7f authored by neil's avatar neil Committed by GitHub
Browse files

Update dns_fornex.sh

parent a300df00
...@@ -107,6 +107,7 @@ _get_root() { ...@@ -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() { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment