write connection refused error to stderr
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Harvey Tindall 2022-01-24 14:30:25 +00:00
parent 4b71fa248a
commit 39f84a94ac
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}