sometimes processor is written Processor in /proc/cpuinfo

This commit is contained in:
François Schmidts 2012-07-26 11:24:29 +02:00
parent a17a3ccf33
commit dafa924c02

View File

@ -141,7 +141,7 @@ fi
# get cpu number
__cpunum_Linux()
{
grep ^processor /proc/cpuinfo | wc -l
grep ^[Pp]rocessor /proc/cpuinfo | wc -l
}
__cpunum_FreeBSD()