Browse Source

Make shellcheck happier

Ondrej Simek 7 years ago
parent
commit
8534e3b2f7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      dnsapi/dns_he.sh

+ 2 - 0
dnsapi/dns_he.sh

@@ -20,6 +20,8 @@ dns_he_add() {
   _info "Using DNS-01 Hurricane Electric hook"
 
   if [ -z "$HE_Username" ] || [ -z "$HE_Password" ]; then
+    HE_Username=
+    HE_Password=
     _err "No auth details provided. Please set user credentials using the \$HE_Username and \$HE_Password envoronment variables."
     return 1
   fi