fix collectd-hack script

This commit is contained in:
Keith Whyte 2023-03-17 23:46:06 +01:00
parent eaddcf6a88
commit 7f94ea2584

View file

@ -6,7 +6,7 @@ is_empty () {
echo "Error. exiting."
exit
fi
if [ "$_o" == "0.0000000000e+00" ] ;then
if [ "$_o" == "0.0000000000e+00" -o "$_o" == "NaN" ] ;then
echo "$1 is empty"
return 1
fi