Revert "nproc is slightly faster than grep on my machine"

This reverts commit 3abc3999ddaff697cfc6f7f6880710a225628e15.

Conserving retro compatibility with lenny.
This commit is contained in:
François Schmidts 2012-08-14 12:11:44 +02:00
parent 21808bb5e2
commit 6d45328d02

View File

@ -186,7 +186,7 @@ fi
# get cpu number
_lp_cpunum_Linux()
{
nproc
grep -c '^[Pp]rocessor' /proc/cpuinfo
}
_lp_cpunum_FreeBSD()