diff --git a/inxi b/inxi index b5724ad..1a10ee7 100755 --- a/inxi +++ b/inxi @@ -4143,7 +4143,9 @@ print_sensors_data() IFS="," a_sensors_working=( ${A_SENSORS_DATA[0]} ) IFS="$ORIGINAL_IFS" - # initial error cases, for missing app or unconfigured sensors + # initial error cases, for missing app or unconfigured sensors. Note that array 0 + # always has at least 3 items, cpu/mobo/psu temp in it. If it's a single item, then + # it's an error message, not the real data arrays. if [[ ${#a_sensors_working[@]} -eq 1 ]];then cpu_temp=${A_SENSORS_DATA[0]} b_is_error='true'