diff --git a/inxi b/inxi index c6b4a39..803f5ac 100755 --- a/inxi +++ b/inxi @@ -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