diff --git a/main.go b/main.go index 3d3fabb..6a16b88 100644 --- a/main.go +++ b/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) }