diff --git a/inxi b/inxi index e65c96d..880f7be 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.1.2-b1 +#### version: 1.1.3-b1 #### Date: 29 July 2009 ######################################################################## #### SPECIAL THANKS @@ -2568,7 +2568,12 @@ get_hard_drive_data_advanced() fi break else - a_temp_working[2]="Name n/a" + # test to see if we can get a better name output when null + if [[ -n $temp_name ]];then + a_temp_working[2]=$temp_name + else + a_temp_working[2]="Name n/a" + fi fi done else @@ -3011,10 +3016,7 @@ get_partition_data_advanced() get_sensors_data() { eval $LOGFS -sample=" -" -# echo "$sample" | gawk -F ': ' -v userCpuNo="$SENSORS_CPU_NO" ' IFS=$'\n' if [[ $B_SENSORS == 'true' ]];then # note: non-configured sensors gives error message, which we need to redirect to stdout