From a7f84fec1504af06dd6209204060428f54478e57 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 18 Feb 2009 05:23:53 +0000 Subject: [PATCH] tweak --- inxi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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