This commit is contained in:
inxi-svn 2009-02-18 05:23:53 +00:00
parent b43667f58f
commit a7f84fec15

3
inxi
View file

@ -1379,7 +1379,8 @@ get_audio_data()
# alsa usb
# for every sound card symlink in /proc/asound - display information about it
for usb_proc_file in /proc/asound/*; do
for usb_proc_file in /proc/asound/*
do
# if lsusb exists, the file is a symlink, and contains an important usb exclusive file: continue
if [[ -n "$( which lsusb )" && -L "$usb_proc_file" && -e "$usb_proc_file/usbid" ]]; then
# send error messages of lsusb to /dev/null as it will display a bunch if not a super user