diff --git a/inxi b/inxi index cfa3863..b0b7d1b 100644 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.9.1.b2.1 -#### Date: January 3, 2009 +#### version: 0.9.1.b2.2 +#### Date: January 5, 2009 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -1462,7 +1462,11 @@ get_cpu_core_count() ## Because of the upcoming release of cpus with core counts over 6, a count of cores is given after Deca (10) # count the number of processors given local cpu_core_count=${A_CPU_TYPE_PCNT_CCNT[2]} - local cpu_type=${A_CPU_TYPE_PCNT_CCNT[0]} + local cpu_type='' + + if [[ ${A_CPU_TYPE_PCNT_CCNT[0]} == "HT" || ${A_CPU_TYPE_PCNT_CCNT[0]} == "SMP" ]]; then + cpu_type=${A_CPU_TYPE_PCNT_CCNT[0]} + fi # match the numberic value to an alpha value case $cpu_core_count in