From 797cbb9b2064784a4a13d8d509863a3292c35739 Mon Sep 17 00:00:00 2001 From: neilpang Date: Sat, 12 Nov 2016 11:05:05 +0800 Subject: [PATCH] fix shellcheck warnings --- dnsapi/dns_cf.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dnsapi/dns_cf.sh b/dnsapi/dns_cf.sh index 20cb169e..cacb5b39 100755 --- a/dnsapi/dns_cf.sh +++ b/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