fix shellcheck warnings

This commit is contained in:
neilpang
2016-11-12 11:13:40 +08:00
parent 797cbb9b20
commit 422e5026d6
7 changed files with 14 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ dns_cx_add() {
txtvalue=$2
if [ -z "$CX_Key" ] || [ -z "$CX_Secret" ]; then
CX_Key=""
CX_Secret=""
_err "You don't specify cloudxns.com api key or secret yet."
_err "Please create you key and try again."
return 1