mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fix
This commit is contained in:
parent
c9731b0c02
commit
9de355d4be
1
inxi
1
inxi
|
@ -7125,6 +7125,7 @@ print_optical_drive_data()
|
||||||
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 drives detected."
|
drive_string="No optical drives detected."
|
||||||
|
B_SHOW_FULL_OPTICAL='false'
|
||||||
else
|
else
|
||||||
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then
|
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then
|
||||||
counter="-$(( i + 1 ))"
|
counter="-$(( i + 1 ))"
|
||||||
|
|
Loading…
Reference in a new issue