diff --git a/postplug.d/35sound b/postplug.d/35sound index f5bf9d4..967a45c 100644 --- a/postplug.d/35sound +++ b/postplug.d/35sound @@ -74,7 +74,7 @@ _EOF } if [ -e /proc/bus/pci ]; then - SOUND_DEV="`lspci -n | grep " 04[0-9][0-9]: "`" + SOUND_DEV="`lspci -n 2>/dev/null| grep " 04[0-9][0-9]: "`" fi if [ ! "$SOUND_DEV" ]; then if [ -e /proc/asound/cards ]; then