Revert "nproc is slightly faster than grep on my machine"
This reverts commit 3abc3999ddaff697cfc6f7f6880710a225628e15. Conserving retro compatibility with lenny.
This commit is contained in:
parent
21808bb5e2
commit
6d45328d02
@ -186,7 +186,7 @@ fi
|
||||
# get cpu number
|
||||
_lp_cpunum_Linux()
|
||||
{
|
||||
nproc
|
||||
grep -c '^[Pp]rocessor' /proc/cpuinfo
|
||||
}
|
||||
|
||||
_lp_cpunum_FreeBSD()
|
||||
|
Loading…
x
Reference in New Issue
Block a user