removed audio array debugging echo

This commit is contained in:
inxi-svn 2008-11-14 07:12:48 +00:00
parent 6fa1b9ca6a
commit 3d91871ffb

2
inxi
View file

@ -1032,7 +1032,7 @@ get_audio_data()
}' /proc/asound/cards ) ) }' /proc/asound/cards ) )
fi fi
IFS="$ORIGINAL_IFS" IFS="$ORIGINAL_IFS"
echo ${A_AUDIO_DATA[@]}
# handle cases where card detection fails, like in PS3, where lspci gives no output, or headless boxes.. # handle cases where card detection fails, like in PS3, where lspci gives no output, or headless boxes..
if [[ ${#A_AUDIO_DATA[@]} -eq 0 ]];then if [[ ${#A_AUDIO_DATA[@]} -eq 0 ]];then
A_AUDIO_DATA[0]='Failed to Detect Sound Card!' A_AUDIO_DATA[0]='Failed to Detect Sound Card!'