diff options
| author | Jeff Carr <[email protected]> | 2024-02-11 04:10:36 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-11 04:10:36 -0600 |
| commit | 511ffdcd23cd0fa4aab8353409460ba8a0b0be20 (patch) | |
| tree | f6dd6b8efe65151467ff3f7c2ec222910df26a16 /digStatusWindow.go | |
| parent | a44c71d6e6adacfb4423e94c6c946a27713b2f42 (diff) | |
use go-deb to build packagesv0.20.3
Signed-off-by: Jeff Carr <[email protected]>
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) |
