mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-21 06:08:38 -04:00
Fix bug #1593073 Check_Log problem with log rotation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1602 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
a48b7fd824
commit
026db39bb7
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ else
|
|||
$CHMOD 600 $tempdiff
|
||||
fi
|
||||
|
||||
$DIFF $logfile $oldlog > $tempdiff
|
||||
$DIFF $logfile $oldlog | $GREP -v "^>" > $tempdiff
|
||||
|
||||
# Count the number of matching log entries we have
|
||||
count=`$GREP -c "$query" $tempdiff`
|
||||
|
|
|
|||
Loading…
Reference in a new issue