chore: Correct the decision of enabling find process

This commit is contained in:
Larvan2 2023-01-21 14:23:51 +08:00
parent 4f641ce12d
commit fb623c0929

View file

@ -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 {