Fixed bug due to typo in cpu detection code, thanx to dixlor
This commit is contained in:
parent
9d00f7bc0c
commit
d55bbac0f9
2
ppss.sh
2
ppss.sh
@ -328,7 +328,7 @@ get_no_of_cpus () {
|
|||||||
then
|
then
|
||||||
if [ `uname` == "Linux" ]
|
if [ `uname` == "Linux" ]
|
||||||
then
|
then
|
||||||
NUMBER=`cat /proc/cpuinfoo | grep processor | wc -l`
|
NUMBER=`cat /proc/cpuinfo | grep processor | wc -l`
|
||||||
got_cpu_info "$?"
|
got_cpu_info "$?"
|
||||||
|
|
||||||
elif [ `uname` == "Darwin" ]
|
elif [ `uname` == "Darwin" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user