From 231d9055a7422d27f926fd739f00c0b6a2f959ed Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 17 Sep 2014 04:25:16 +0000 Subject: [PATCH] code cleanup --- inxi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index 73d9572..9c806ae 100755 --- a/inxi +++ b/inxi @@ -10774,9 +10774,10 @@ print_cpu_data() # note the numbering, the last array item is the min/max/not found for cpu speeds if [[ ${#A_CPU_DATA[@]} -gt 2 && $B_SHOW_CPU == 'true' ]];then if [[ ${a_cpu_speeds[2]} != 0 ]];then - max_speed="${C1}max$SEP3${C2} ${a_cpu_speeds[2]} MHz " if [[ $B_EXTRA_EXTRA_DATA == 'true' && ${a_cpu_speeds[1]} != 0 ]];then max_speed="${C1}min/max$SEP3${C2} ${a_cpu_speeds[1]}/${a_cpu_speeds[2]} MHz " + else + max_speed="${C1}max$SEP3${C2} ${a_cpu_speeds[2]} MHz " fi fi for (( i=0; i < ${#A_CPU_DATA[@]}-1; i++ ))