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 692529c..5b60698 100644
--- a/include/thermal_functions.sh
+++ b/include/thermal_functions.sh
@@ -124,7 +124,7 @@ check_valid_binding() {
shift 2
log_begin "checking $descr"
- if [ $trip_point > $trip_point_max ]; then
+ if [ $trip_point_val -ge $trip_point_max ]; then
log_end "fail"
return 1
fi