Fixed double space before '@' sign in cpu info
This commit is contained in:
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
Block a user