summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a48b7fd)
raw | patch | inline | side by side (parent: a48b7fd)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Thu, 1 Feb 2007 05:33:07 +0000 (05:33 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Thu, 1 Feb 2007 05:33:07 +0000 (05:33 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1602 f882894a-f735-0410-b71e-b25c423dba1c
plugins-scripts/check_log.sh | patch | blob | history |
index 38375dd15c0440e2d08cb0e10348bff8ce9ffaa2..20c55f4ed029bef1a50d7a2316b26cd844527a73 100755 (executable)
$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`