Fixed whitespace issue
This commit is contained in:
parent
afbf12bba7
commit
0a882fd483
1 changed files with 2 additions and 0 deletions
2
fetch.sh
2
fetch.sh
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue