From 3d91871ffbfbaedbfe27c3d12ffd9a3c91ac9dfb Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 14 Nov 2008 07:12:48 +0000 Subject: [PATCH] removed audio array debugging echo --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index 471e988..9ca25fd 100755 --- a/inxi +++ b/inxi @@ -1032,7 +1032,7 @@ get_audio_data() }' /proc/asound/cards ) ) fi IFS="$ORIGINAL_IFS" - echo ${A_AUDIO_DATA[@]} + # handle cases where card detection fails, like in PS3, where lspci gives no output, or headless boxes.. if [[ ${#A_AUDIO_DATA[@]} -eq 0 ]];then A_AUDIO_DATA[0]='Failed to Detect Sound Card!'