diff options
author | Ruben Sainiuc <ruben.sainiuc@gmail.com> | 2017-11-16 09:43:52 +0200 |
---|---|---|
committer | Ruben Sainiuc <ruben.sainiuc@gmail.com> | 2017-11-16 09:43:52 +0200 |
commit | 149ff9eee20635368a632576d74114894a8735ba (patch) | |
tree | 0bbc8549236d8f25a77b4f74bb0a24ce21f876a6 /charts.d/hddtemp.chart.sh | |
parent | fb78a3f099cc73de79c5e5aedc56036b9ec63ef8 (diff) |
Fix typo
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 15895c5e16..3aada1751e 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 |