fix collectd-hack script
This commit is contained in:
parent
eaddcf6a88
commit
7f94ea2584
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue