diff --git a/inxi b/inxi index 8e38017..1bd3783 100755 --- a/inxi +++ b/inxi @@ -6778,7 +6778,7 @@ print_optical_drive_data() if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then counter="-$(( i + 1 ))" fi - if [[ -z $drive_id ]];then + if [[ -z ${a_drives[0]} ]];then drive_id='N/A' else drive_id="/dev/${a_drives[0]}"