Remove troubleshooting code

nostruct
Stein Ivar Berghei 2022-11-28 14:02:38 +01:00
parent 16498a8c7d
commit 2478ecba3c
1 changed files with 1 additions and 2 deletions

3
mpd.go
View File

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