Projet

Général

Profil

Révision 17f78427

ID17f784270ae966ee9a13e9f5104a5b8f925b639e
Parent ef851f0c
Enfant d4320aea, 5b2396a9

Ajouté par Lars Kruse il y a plus de 7 ans

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files

Voir les différences:

plugins/haproxy/haproxy_errors_backend
42 42
        PXNAME="$1"
43 43
        SVNAME="$2"
44 44
        VALUE="$3"
45
        
45

  
46 46
        if [ ! -z "$url" ]; then
47 47
                LINE1=`curl -s "$url" | head -1 | sed 's/# //'`
48 48
                LINE2=`curl -s "$url" | grep "$PXNAME,$SVNAME"`
......
52 52
                LINE1=`echo 'show stat' | socat unix-connect:"$socket" stdio | head -1 | sed 's/# //'`
53 53
                LINE2=`echo 'show stat' | socat unix-connect:"$socket" stdio | grep "$PXNAME,$SVNAME"`
54 54
        fi
55
        
55

  
56 56
        ARRAY1=($LINE1);
57 57

  
58 58
        # Find values
......
76 76

  
77 77

  
78 78
if [ "$1" = "autoconf" ]; then
79
	echo yes 
79
	echo yes
80 80
	exit 0
81 81
fi
82 82

  
......
119 119
	        echo "econ`echo $i | md5sum | cut -d - -f1 | sed 's/ //g'`.value $ECON"
120 120
	        echo "eresp`echo $i | md5sum | cut -d - -f1 | sed 's/ //g'`.value $ERESP"
121 121
	done
122
	
122

  
123 123

  

Formats disponibles : Unified diff