Skip to content

Commit

Permalink
Do not include stderr for tailscale status
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Oct 13, 2021
1 parent 097938e commit 2e3cb87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func onReady() {
}
myIP := strings.TrimSpace(string(b))

b, err = exec.Command("tailscale", "status").CombinedOutput()
b, err = exec.Command("tailscale", "status").Output()
if err != nil {
if enabled {
systray.SetTooltip("Tailscale: Disconnected")
Expand Down

0 comments on commit 2e3cb87

Please sign in to comment.