Skip to content

Commit 7a5316c

Browse files
committed
Always output to /dev/null, no matter the mode
For some reason this was missed on playlist mode before. We also don't need to capture stderr, since it usually doesn't output anything.
1 parent 28dc673 commit 7a5316c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mpdmenu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ case "$mode" in
6868
mpc find artist "$artist" album "$album" | sort | mpc add
6969
fi
7070

71-
mpc play >/dev/null 2>&1
71+
mpc play >/dev/null
7272
;;
7373
playlist)
74-
mpc play "$(d_playlist)"
74+
mpc play "$(d_playlist)" >/dev/null
7575
;;
7676
esac

0 commit comments

Comments
 (0)