Fix process_name rule item

This commit is contained in:
世界 2022-08-31 12:51:38 +08:00
parent 67c7e9fd86
commit 426b677eb8
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -28,7 +28,7 @@ func NewProcessItem(processNameList []string) *ProcessItem {
processMap: make(map[string]bool),
}
for _, processName := range processNameList {
rule.processMap[strings.ToLower(processName)] = true
rule.processMap[processName] = true
}
return rule
}