From 1853626e490f848e02d1cbb483047f65ac58bb21 Mon Sep 17 00:00:00 2001 From: onkobu Date: Thu, 7 Jan 2021 22:10:25 +0100 Subject: [PATCH] Fix multi-sensor with identical thresholds - keep thresholds once found, wait for regular re-definition --- check_temp.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/check_temp.sh b/check_temp.sh index d3b2d6e..581cc8d 100755 --- a/check_temp.sh +++ b/check_temp.sh @@ -279,9 +279,6 @@ while [[ -n "$1" ]]; do else process_sensor "$sensors_to_check" fi - unset thresh_crit - unset thresh_warn - unset sensors_to_check fi done