Commit 797cbb9b authored by neilpang's avatar neilpang
Browse files

fix shellcheck warnings

parent be68fbd4
...@@ -15,6 +15,8 @@ dns_cf_add() { ...@@ -15,6 +15,8 @@ dns_cf_add() {
txtvalue=$2 txtvalue=$2
if [ -z "$CF_Key" ] || [ -z "$CF_Email" ]; then if [ -z "$CF_Key" ] || [ -z "$CF_Email" ]; then
CF_Key=""
CF_Email=""
_err "You don't specify cloudflare api key and email yet." _err "You don't specify cloudflare api key and email yet."
_err "Please create you key and try again." _err "Please create you key and try again."
return 1 return 1
......
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