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_dp_add() {
txtvalue=$2
if [ -z "$DP_Id" ] || [ -z "$DP_Key" ]; then
DP_Id=""
DP_Key=""
_err "You don't specify dnspod api key and key id yet."
_err "Please create you key and try again."
return 1