mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fix, needed a space for irc output or it broke, also shortened short form output
This commit is contained in:
parent
d1c7042ab7
commit
f368a7c64c
6
inxi
6
inxi
|
@ -10743,12 +10743,12 @@ print_cpu_data()
|
|||
# this handles bsd case unless we get a way to get max/min cpu speeds
|
||||
if [[ ${a_cpu_speeds[2]} != 0 ]];then
|
||||
if [[ ${a_cpu_speeds[0]} == ${a_cpu_speeds[2]} ]];then
|
||||
a_cpu_working[1]="${a_cpu_speeds[0]} MHz (max)"
|
||||
a_cpu_working[1]="${a_cpu_speeds[0]} (max) MHz"
|
||||
else
|
||||
a_cpu_working[1]="${a_cpu_speeds[0]} MHz (max ${a_cpu_speeds[2]} MHz)"
|
||||
a_cpu_working[1]="${a_cpu_speeds[0]} (max ${a_cpu_speeds[2]}) MHz"
|
||||
fi
|
||||
fi
|
||||
cpu_clock_speed="${C1}clocked at${C2} ${a_cpu_working[1]}"
|
||||
cpu_clock_speed="${C1}speed$SEP3${C2} ${a_cpu_working[1]}"
|
||||
fi
|
||||
cpu_2_data="$cpu_2_data$cpu_clock_speed"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue