diff --git a/inxi b/inxi index 1021ef0..b29c139 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.10.2-b1-t1 +#### version: 0.10.2-b1-t2 #### Date: 5 February 2009 ######################################################################## #### SPECIAL THANKS @@ -2442,7 +2442,7 @@ get_partition_data_advanced() dev_uuid=${a_partition_working[7]} # first if the dev data/label data is incomplete, try to get missing piece - if [[ -n $dev_disk_label ]];then + if [[ -n "$dev_disk_label" ]];then if [[ -n $dev_item && -z $dev_label ]];then dev_label=$( echo "$dev_disk_label" | gawk ' /'$dev_item'$/ { @@ -2457,7 +2457,7 @@ get_partition_data_advanced() fi fi # then if dev data/uuid is incomplete, try to get missing piece - if [[ -n $dev_disk_uuid ]];then + if [[ -n "$dev_disk_uuid" ]];then if [[ -n $dev_item && -z $dev_uuid ]];then dev_uuid=$( echo "$dev_disk_uuid" | gawk ' /'$dev_item'$/ {