Fixed double space before '@' sign in cpu info
This commit is contained in:
parent
e5caad6abb
commit
c646a32fca
1
fetch
1
fetch
|
@ -711,6 +711,7 @@ getcpu () {
|
||||||
cpu=${cpu/model name*: }
|
cpu=${cpu/model name*: }
|
||||||
cpu=${cpu%% *}
|
cpu=${cpu%% *}
|
||||||
cpu=${cpu/ @*}
|
cpu=${cpu/ @*}
|
||||||
|
cpu=${cpu// }
|
||||||
|
|
||||||
# Get cpu speed
|
# Get cpu speed
|
||||||
if [ -d "/sys/devices/system/cpu/cpu0/cpufreq" ]; then
|
if [ -d "/sys/devices/system/cpu/cpu0/cpufreq" ]; then
|
||||||
|
|
Reference in New Issue