write connection refused error to stderr
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4b71fa248a
commit
39f84a94ac
2
main.go
2
main.go
@ -600,7 +600,7 @@ func main() {
|
||||
}
|
||||
// When waybar-mpris is already running, we attach to its output instead of launching a whole new instance.
|
||||
} else if err := duplicateOutput(); err != nil {
|
||||
os.Stdout.WriteString("Couldn't dial socket, deleting instead: " + err.Error())
|
||||
os.Stderr.WriteString("Couldn't dial socket, deleting instead: " + err.Error())
|
||||
os.Remove(SOCK)
|
||||
os.Remove(OUTFILE)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user