Fix multi-sensor with identical thresholds

- keep thresholds once found, wait for regular re-definition
This commit is contained in:
onkobu 2021-01-07 22:10:25 +01:00
parent 9a3f4cc3a9
commit 1853626e49

View File

@ -279,9 +279,6 @@ while [[ -n "$1" ]]; do
else else
process_sensor "$sensors_to_check" process_sensor "$sensors_to_check"
fi fi
unset thresh_crit
unset thresh_warn
unset sensors_to_check
fi fi
done done