syslog handling update

git-svn-id: http://www.observium.org/svn/observer/trunk@1507 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong 2010-07-28 19:52:47 +00:00
parent f29e7b755b
commit d07689c8d4

View File

@ -5,7 +5,7 @@ function process_syslog ($entry, $update) {
global $config; global $config;
foreach($config['syslog_filter'] as $bi) { foreach($config['syslog_filter'] as $bi) {
if (strstr($entry['msg'], $bi)) { if (strstr($entry['msg'], $bi) !== FALSE) {
$delete = 1; $delete = 1;
} }
} }