diff --git a/inxi b/inxi index b5413ea..8e38017 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.7.0 #### Date: June 17 2011 -#### Patch Number: 00 +#### Patch Number: 01 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -6778,10 +6778,10 @@ print_optical_drive_data() if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then counter="-$(( i + 1 ))" fi - - drive_id=${a_drives[0]} if [[ -z $drive_id ]];then drive_id='N/A' + else + drive_id="/dev/${a_drives[0]}" fi drive_links=$( sed 's/~/,/g' <<< ${a_drives[1]} ) if [[ -z $drive_links ]];then