diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2017-12-19 23:39:21 +0000 |
---|---|---|
committer | Federico Ceratto <federico.ceratto@gmail.com> | 2017-12-19 23:39:21 +0000 |
commit | 61aedf201c2c4bf0e5aa4db32e74f4d860b88593 (patch) | |
tree | bcf4f9a0cd8bc2daf38b2ff9f29bfcc1e5ed8968 /charts.d/hddtemp.chart.sh | |
parent | New upstream version 1.8.0+dfsg (diff) | |
download | netdata-61aedf201c2c4bf0e5aa4db32e74f4d860b88593.tar.xz netdata-61aedf201c2c4bf0e5aa4db32e74f4d860b88593.zip |
New upstream version 1.9.0+dfsgupstream/1.9.0+dfsg
Diffstat (limited to 'charts.d/hddtemp.chart.sh')
-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 |