Fix use of non-exist variable 'count'

Fixes shell error:
""bash: 46 / : syntax error: operand expected (error token is "/ ")
This commit is contained in:
polyphemus 2013-12-01 00:29:48 +01:00 committed by Olivier Mengué
parent 9e5bb5c0d3
commit 50e91cd3e3

View File

@ -1394,7 +1394,7 @@ _lp_temp_sensors() {
temperature=$i
fi
done
echo -ne "$(($temperature/$count))"
echo -ne "$temperature"
}
# Will set _LP_TEMP_FUNCTION so the temperature monitoring feature use an