From bebd5d1b0ea49561fa2dcd73783b959e1c393d14 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 22 Nov 2024 10:05:12 -0500 Subject: [PATCH] Remove support for old single zmfilter process mode which won't work anyways as it only happens when there are no Background Filters --- scripts/zmpkg.pl.in | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/zmpkg.pl.in b/scripts/zmpkg.pl.in index 4c581624b..a9a927025 100644 --- a/scripts/zmpkg.pl.in +++ b/scripts/zmpkg.pl.in @@ -241,12 +241,8 @@ if ( $command =~ /^(?:start|restart)$/ ) { } # end foreach monitor my @filters = ZoneMinder::Filter->find(Background=>1); - if (@filters) { - foreach my $filter (@filters) { - runCommand("zmdc.pl start zmfilter.pl --filter_id=$$filter{Id} --daemon"); - } - } else { - runCommand('zmdc.pl start zmfilter.pl'); + foreach my $filter (@filters) { + runCommand("zmdc.pl start zmfilter.pl --filter_id=$$filter{Id} --daemon"); } if ( $Config{ZM_RUN_AUDIT} ) {