This commit is contained in:
inxi-svn 2011-07-22 07:05:02 +00:00
parent 982f9a3e57
commit c9731b0c02

2
inxi
View file

@ -7124,7 +7124,7 @@ print_optical_drive_data()
state='' state=''
vendor='' vendor=''
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -eq 1 && -z ${a_drives[0]} && -z ${a_drives[1]} ]];then if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -eq 1 && -z ${a_drives[0]} && -z ${a_drives[1]} ]];then
drive_string="No optical drive detected." drive_string="No optical drives detected."
else else
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then
counter="-$(( i + 1 ))" counter="-$(( i + 1 ))"