aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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)
}