From 188d30cca76c5923e2c789258332ed3571545cd4 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 18 Jun 2011 04:54:51 +0000 Subject: [PATCH] bug fix --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]}"