Browse Source

making shellcheck happy

Oliver Dick 6 years ago
parent
commit
4eda39a31d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dnsapi/dns_hostingde.sh

+ 1 - 1
dnsapi/dns_hostingde.sh

@@ -84,7 +84,7 @@ _hostingde_getZoneConfig() {
       zoneConfigDnsServerGroupId=$(echo "${curResult}" | _hostingde_parse "dnsServerGroupId")
       zoneConfigEmailAddress=$(echo "${curResult}" | _hostingde_parse "emailAddress")
       zoneConfigDnsSecMode=$(echo "${curResult}" | _hostingde_parse "dnsSecMode")
-      if [ ${zoneConfigType} != "\"NATIVE\"" ]; then
+      if [ "${zoneConfigType}" != "\"NATIVE\"" ]; then
         _err "Zone is not native"
         returnCode=1
         break