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/ssh/openssh-denyhosts
11 11
#
12 12

  
13 13
mktempfile () {
14
mktemp -t 
15
}       
14
mktemp -t
15
}
16 16

  
17 17
AUTH_LOG=${logfile:-/var/log/auth.log}
18 18
STATEFILE=$MUNIN_PLUGSTATE/sshd.offset
......
59 59
	$LOGTAIL ${AUTH_LOG} $STATEFILE | grep 'sshd' > ${TEMP_FILE}
60 60

  
61 61
	refused=`grep -ic 'refused' ${TEMP_FILE}`
62
	accepted=`grep -ic 'accepted' ${TEMP_FILE}` 
62
	accepted=`grep -ic 'accepted' ${TEMP_FILE}`
63 63
	invalid=`grep -ic 'invalid user' ${TEMP_FILE}`
64 64
	failed=`grep -ic 'failed password' ${TEMP_FILE}`
65 65

  

Formats disponibles : Unified diff