chore: Correct the decision of enabling find process

This commit is contained in:
gVisor bot 2023-01-21 14:23:51 +08:00
parent e555fd65ec
commit dd72be0ef1

View file

@ -17,7 +17,7 @@ type RuleSet struct {
} }
func (rs *RuleSet) ShouldFindProcess() bool { func (rs *RuleSet) ShouldFindProcess() bool {
return !rs.shouldFindProcess && rs.getProviders().ShouldFindProcess() return rs.shouldFindProcess || rs.getProviders().ShouldFindProcess()
} }
func (rs *RuleSet) RuleType() C.RuleType { func (rs *RuleSet) RuleType() C.RuleType {