summaryrefslogtreecommitdiff
path: root/dns.go
diff options
context:
space:
mode:
Diffstat (limited to 'dns.go')
-rw-r--r--dns.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/dns.go b/dns.go
index 9382f33..7de45e2 100644
--- a/dns.go
+++ b/dns.go
@@ -8,7 +8,6 @@ import (
"net"
"strings"
- "go.wit.com/lib/gui/shell"
"go.wit.com/log"
)
@@ -88,7 +87,7 @@ func lookupNS(domain string) {
setProvider(s)
}
}
- tmp = shell.Chomp(tmp)
+ tmp = strings.TrimSpace(tmp)
if tmp != me.statusDNS.NSrr.String() {
me.changed = true