From dd72be0ef124ddd8f4ea6d17db379c79f4949c03 Mon Sep 17 00:00:00 2001 From: gVisor bot 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 {