From a4022752339a2e2275cc4a3bf977342daa193f03 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 30 Jul 2009 01:09:58 +0000 Subject: [PATCH] more comments tweaks and clarifications --- inxi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'