1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -81,7 +81,7 @@ for i in `echo $data | sed 's/worker/\nworker/g' | grep "^worker\..*\.state=.*"`
do
node=`echo $i | awk -F . '{print $2}'`
status=`echo $i | awk -F = '{print $2}'`
value=0
if [ `echo $status | sed 's/^OK/XOK/'` = "X$status" ]
then
@ -97,7 +97,7 @@ do
then
value=3
fi
echo "$node.value $value"
done