From f0b2910647f50ed503e5596f09c5f6327fbbbeb2 Mon Sep 17 00:00:00 2001 From: Manojav Sridhar Date: Wed, 15 Feb 2017 08:10:50 -0500 Subject: [PATCH] fix typo for correct checking if a command has excuted for an event, prevents execution on every filter run --- scripts/zmfilter.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmfilter.pl.in b/scripts/zmfilter.pl.in index e51993bec..e1aafaac2 100644 --- a/scripts/zmfilter.pl.in +++ b/scripts/zmfilter.pl.in @@ -307,7 +307,7 @@ $dbh->ping(); } if ( $filter->{AutoExecute} ) { - if ( !$event->{Execute} ) + if ( !$event->{Executed} ) { $delete_ok = undef if ( !executeCommand( $filter, $event ) ); }