Fix huge whitespace in CPU output

This commit is contained in:
Dylan 2016-03-27 13:51:21 +11:00
parent 1fb3c59bc6
commit 2edad96936

View file

@ -839,7 +839,7 @@ getcpu () {
"Mac OS X")
cpu="$(sysctl -n machdep.cpu.brand_string)"
cpu=${cpu/ }
cpu=${cpu//[[:space:]]/ }
cores=$(sysctl -n hw.ncpu)
;;