From fb623c09298eb2fa3c856e8e72ba5d7c219d268a Mon Sep 17 00:00:00 2001 From: Larvan2 <78135608+Larvan2@users.noreply.github.com> Date: Sat, 21 Jan 2023 14:23:51 +0800 Subject: [PATCH] chore: Correct the decision of enabling find process --- rules/provider/rule_set.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/provider/rule_set.go b/rules/provider/rule_set.go index 4a49ad41..45cddf6c 100644 --- a/rules/provider/rule_set.go +++ b/rules/provider/rule_set.go @@ -17,7 +17,7 @@ type RuleSet struct { } func (rs *RuleSet) ShouldFindProcess() bool { - return !rs.shouldFindProcess && rs.getProviders().ShouldFindProcess() + return rs.shouldFindProcess || rs.getProviders().ShouldFindProcess() } func (rs *RuleSet) RuleType() C.RuleType {