diff options
Diffstat (limited to 'digStatusWindow.go')
| -rw-r--r-- | digStatusWindow.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/digStatusWindow.go b/digStatusWindow.go index 5722f47..dce5b71 100644 --- a/digStatusWindow.go +++ b/digStatusWindow.go @@ -253,12 +253,12 @@ func (ds *digStatus) updateDnsStatus() { } cmd = "dig +noall +answer www.wit.com A" - out = shell.Run(cmd) + out = shell.RunCapture(cmd) log.Log(DNS, "makeDnsStatusGrid() dig", out) me.digStatus.set(ds.DnsDigUDP, out) cmd = "dig +noall +answer www.wit.com AAAA" - out = shell.Run(cmd) + out = shell.RunCapture(cmd) log.Log(DNS, "makeDnsStatusGrid() dig", out) me.digStatus.set(ds.DnsDigTCP, out) @@ -290,14 +290,14 @@ func (ds *digStatus) makeDnsStatusGrid() { cmd = "dig +noall +answer go.wit.com A" grid.NewLabel(cmd) ds.DnsDigUDP = grid.NewLabel("?") - out = shell.Run(cmd) + out = shell.RunCapture(cmd) log.Log(DNS, "makeDnsStatusGrid() dig", out) me.digStatus.set(ds.DnsDigUDP, out) cmd = "dig +noall +answer go.wit.com AAAA" grid.NewLabel(cmd) ds.DnsDigTCP = grid.NewLabel("?") - out = shell.Run(cmd) + out = shell.RunCapture(cmd) log.Log(DNS, "makeDnsStatusGrid() dig", out) me.digStatus.set(ds.DnsDigTCP, out) |
