Browse Source

Remove stray characater

fixes issue where the first listed domain would not work
seidler2547 8 years ago
parent
commit
383fa8401d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dnsapi/dns_do.sh

+ 1 - 1
dnsapi/dns_do.sh

@@ -119,7 +119,7 @@ _get_root() {
   i=1
   i=1
 
 
   _dns_do_soap getDomainList
   _dns_do_soap getDomainList
-  _all_domains="/$(echo "${response}" \
+  _all_domains="$(echo "${response}" \
     | tr -d "\n\r\t " \
     | tr -d "\n\r\t " \
     | _egrep_o 'domain</key><value[^>]+>[^<]+' \
     | _egrep_o 'domain</key><value[^>]+>[^<]+' \
     | sed -e 's/^domain<\/key><value[^>]*>//g')"
     | sed -e 's/^domain<\/key><value[^>]*>//g')"