Fix not piping to null
This commit is contained in:
parent
c94d2a2091
commit
f9d199704f
2
ptgdp
2
ptgdp
@ -189,7 +189,7 @@ backend-enqueue() { # Enqueues a song
|
|||||||
;;
|
;;
|
||||||
mpd)
|
mpd)
|
||||||
file=${1##$_mpdroot/}
|
file=${1##$_mpdroot/}
|
||||||
if ! mpc add "$file"; then
|
if ! mpc add "$file" > /dev/null 2>&1; then
|
||||||
error "Could not add file: \"$file\" ($?)"
|
error "Could not add file: \"$file\" ($?)"
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user