diff options
author | Harvey Tindall <hrfee@protonmail.ch> | 2022-01-24 14:30:25 +0000 |
---|---|---|
committer | Harvey Tindall <hrfee@protonmail.ch> | 2022-01-24 14:30:38 +0000 |
commit | 39f84a94acedf339320137c435515172cfb8261f (patch) | |
tree | 56ff72eba5c7376b3d8ef5193bfd9cb4a5ac5f8c | |
parent | 4b71fa248ad07e23a62d1d5811e163113e1baab1 (diff) | |
download | waybar-mpris-39f84a94acedf339320137c435515172cfb8261f.tar.gz waybar-mpris-39f84a94acedf339320137c435515172cfb8261f.zip |
write connection refused error to stderr
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |