When launching concurrent zmfilter, use the id instead of Name because Name isn't necessarily unique

This commit is contained in:
Isaac Connor 2021-12-06 10:32:17 -05:00
parent 3b84d7d82a
commit 35bca1d89b
1 changed files with 6 additions and 6 deletions

View File

@ -188,7 +188,7 @@ while( !$zm_terminate ) {
my ( $id ) = $$filter{Id} =~ /(\d+)/;
Debug("Running concurrent filter process $proc --filter_id $$filter{Id} => $id for $$filter{Name}");
system(qq`$proc --filter "$$filter{Name}" &`);
system(qq`$proc --filter_id $id &`);
} else {
checkFilter($filter);
}