1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 02:18:08 +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

@ -11,8 +11,8 @@
#
mktempfile () {
mktemp -t
}
mktemp -t
}
AUTH_LOG=${logfile:-/var/log/auth.log}
STATEFILE=$MUNIN_PLUGSTATE/sshd.offset
@ -59,7 +59,7 @@ then
$LOGTAIL ${AUTH_LOG} $STATEFILE | grep 'sshd' > ${TEMP_FILE}
refused=`grep -ic 'refused' ${TEMP_FILE}`
accepted=`grep -ic 'accepted' ${TEMP_FILE}`
accepted=`grep -ic 'accepted' ${TEMP_FILE}`
invalid=`grep -ic 'invalid user' ${TEMP_FILE}`
failed=`grep -ic 'failed password' ${TEMP_FILE}`