From 2478ecba3ca5c90255b763465dcf7f8628c5ad9a Mon Sep 17 00:00:00 2001 From: Stein Ivar Berghei Date: Mon, 28 Nov 2022 14:02:38 +0100 Subject: [PATCH] Remove troubleshooting code --- mpd.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mpd.go b/mpd.go index 4ae1806..2a71bc6 100644 --- a/mpd.go +++ b/mpd.go @@ -121,9 +121,8 @@ func init() { func NewMPD() (*MPD, error) { out := new(MPD) + f, err := syscall.Open(config.GetString("mpd.fifo"), syscall.O_CREAT|syscall.O_RDONLY|syscall.O_CLOEXEC|syscall.O_NONBLOCK, 0644) - log.Println(f, err) - //f, err := os.Open(config.GetString("mpd.fifo")) if err != nil { return nil, err }