Fix use of non-exist variable 'count'
Fixes shell error: ""bash: 46 / : syntax error: operand expected (error token is "/ ")
This commit is contained in:
parent
9e5bb5c0d3
commit
50e91cd3e3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user