Browse Source

fix shellcheck warnings

neilpang 8 years ago
parent
commit
797cbb9b20
1 changed files with 2 additions and 0 deletions
  1. 2 0
      dnsapi/dns_cf.sh

+ 2 - 0
dnsapi/dns_cf.sh

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