summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_log.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/check_log.sh')
-rwxr-xr-xplugins-scripts/check_log.sh2
1 files changed, 1 insertions, 1 deletions
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
197 $CHMOD 600 $tempdiff 197 $CHMOD 600 $tempdiff
198fi 198fi
199 199
200$DIFF $logfile $oldlog > $tempdiff 200$DIFF $logfile $oldlog | $GREP -v "^>" > $tempdiff
201 201
202# Count the number of matching log entries we have 202# Count the number of matching log entries we have
203count=`$GREP -c "$query" $tempdiff` 203count=`$GREP -c "$query" $tempdiff`