diff --git a/inxi b/inxi index 375e3c0..73d9572 100755 --- a/inxi +++ b/inxi @@ -3970,9 +3970,7 @@ get_cpu_data() if (cpuMax != "") { max=cpuMax/1000 } - - # this is / was used in inxi short output only, but when it is N/A, need to use the previous array - # value, from above, the actual speed that is, for short output, key 0. + # create last array index, to be used for min/max output sub(/\.[0-9]+$/,"",max) sub(/\.[0-9]+$/,"",speed) sub(/\.[0-9]+$/,"",min)