mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 17:07:49 +00:00
bug fix
This commit is contained in:
parent
2b1279a14e
commit
188d30cca7
2
inxi
2
inxi
|
@ -6778,7 +6778,7 @@ print_optical_drive_data()
|
||||||
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then
|
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then
|
||||||
counter="-$(( i + 1 ))"
|
counter="-$(( i + 1 ))"
|
||||||
fi
|
fi
|
||||||
if [[ -z $drive_id ]];then
|
if [[ -z ${a_drives[0]} ]];then
|
||||||
drive_id='N/A'
|
drive_id='N/A'
|
||||||
else
|
else
|
||||||
drive_id="/dev/${a_drives[0]}"
|
drive_id="/dev/${a_drives[0]}"
|
||||||
|
|
Loading…
Reference in a new issue