From 61aedf201c2c4bf0e5aa4db32e74f4d860b88593 Mon Sep 17 00:00:00 2001 From: Federico Ceratto Date: Tue, 19 Dec 2017 23:39:21 +0000 Subject: New upstream version 1.9.0+dfsg --- charts.d/hddtemp.chart.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'charts.d/hddtemp.chart.sh') 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 -- cgit v1.2.3