diff options
Diffstat (limited to '')
-rw-r--r-- | charts.d/hddtemp.chart.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/charts.d/hddtemp.chart.sh b/charts.d/hddtemp.chart.sh index 15895c5e1..3aada1751 100644 --- a/charts.d/hddtemp.chart.sh +++ b/charts.d/hddtemp.chart.sh @@ -43,7 +43,7 @@ hddtemp_create() { return 0 } -# _update is called continiously, to collect the values +# _update is called continuously, to collect the values hddtemp_last=0 hddtemp_count=0 hddtemp_update() { @@ -56,7 +56,7 @@ hddtemp_update() { IFS=$OLD_IFS # check if there is some data - if [ -z "${all[3]}" ]; then + if [ -z "${all[3]}" ]; then return 1 fi |