Fixed whitespace issue

This commit is contained in:
dylan araps 2016-01-06 10:06:22 +11:00
parent afbf12bba7
commit 0a882fd483
1 changed files with 2 additions and 0 deletions

View File

@ -478,6 +478,8 @@ getcpu () {
cpu="$(grep 'model name' /proc/cpuinfo)"
cpu=${cpu/model name*: /}
cpu=${cpu/ @*/}
cpu=${cpu// /}
cpu=${cpu% }
# Get cpu speed
speed=$(grep 'cpu MHz' /proc/cpuinfo)