diff options
author | paulfantom <paulfantom@gmail.com> | 2016-06-08 12:35:26 +0200 |
---|---|---|
committer | paulfantom <paulfantom@gmail.com> | 2016-06-08 12:35:26 +0200 |
commit | 2cc5f7e36d94a78cbec610a3add75d1ed6864c97 (patch) | |
tree | 86ba70db861923b3742fffebab932cbf8537504f /charts.d/sensors.chart.sh | |
parent | a168f925b24e7aa5f75bb7c11c122ac8e517ec06 (diff) |
wrong placing of exclude=
Diffstat (limited to 'charts.d/sensors.chart.sh')
-rwxr-xr-x | charts.d/sensors.chart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charts.d/sensors.chart.sh b/charts.d/sensors.chart.sh index 0d534b9a7b..6e77317783 100755 --- a/charts.d/sensors.chart.sh +++ b/charts.d/sensors.chart.sh @@ -62,6 +62,7 @@ sensors_check_files() { [ "$excluded" != "1" ] && v="$( cat $f )" || v=0 v=$(( v + 1 - 1 )) [ $v -ne 0 ] && echo "$f" && continue + excluded= echo >&2 "$PROGRAM_NAME: sensors: $f gives zero values" done @@ -81,7 +82,6 @@ sensors_check_temp_type() { v="$( cat $t )" v=$(( v + 1 - 1 )) [ $v -ne 0 ] && echo "$f" && continue - excluded= echo >&2 "$PROGRAM_NAME: sensors: $f is disabled" done |