aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/thermal_functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/thermal_functions.sh b/include/thermal_functions.sh
index 5b60698..f385ec1 100644
--- a/include/thermal_functions.sh
+++ b/include/thermal_functions.sh
@@ -42,7 +42,7 @@ check_valid_temp() {
local descr="'$zone_name'/'$file' ='$temp_val'"
log_begin "checking $descr"
- if [ $temp_val > 0 ]; then
+ if [ $temp_val -gt 0 ]; then
log_end "pass"
return 0
fi