diff --git a/inxi b/inxi index b59b0f3..8bf5e5f 100755 --- a/inxi +++ b/inxi @@ -11036,7 +11036,7 @@ print_sensors_data() gpu_temp=$( get_gpu_temp_data ) # dump the unneeded screen data for single gpu systems if [[ $( wc -w <<< $gpu_temp ) -eq 1 && $B_EXTRA_DATA != 'true' ]];then - gpu_temp=$( cut -d ':' -f 2 <<< $gpu_temp ) + gpu_temp=${gpu_temp#*:} fi if [[ -n $gpu_temp ]];then gpu_temp="${C1}gpu$SEP3${C2} ${gpu_temp} "