From 026db39bb756814318ce5f23f2a08b075e8b8a86 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Thu, 1 Feb 2007 05:33:07 +0000 Subject: [PATCH] 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 --- plugins-scripts/check_log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index 38375dd..20c55f4 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh @@ -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` -- 2.30.2