bug fix, update version number, removed extra {...} in if clause.

This doesn't fix the main xeon failure though
This commit is contained in:
inxi-svn 2009-01-25 02:22:16 +00:00
parent cf7508d125
commit 959caae1f7

6
inxi
View file

@ -1,8 +1,8 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 0.9.5
#### Date: 23 January 2009
#### version: 0.9.6
#### Date: 24 January 2009
########################################################################
#### SPECIAL THANKS
########################################################################
@ -1484,7 +1484,6 @@ get_cpu_ht_multicore_smp_data()
# if = 1 processor then single core/processor Uni-Processor (UP)
if [[ $B_CPUINFO == 'true' ]]; then
{
A_CPU_TYPE_PCNT_CCNT=( $( gawk '
BEGIN { FS=": "; i = 0 } {IGNORECASE = 1}
/^processor/ { num_of_processors = $NF + 1 } # counts logical processors, both HT and physical
@ -1552,7 +1551,6 @@ get_cpu_ht_multicore_smp_data()
}
END { print type " " processors " " cores }
' $DIR_CPUINFO ) )
}
fi
}