Fix: update cache if a process was found (#850)

This commit is contained in:
icpz
2020-07-30 17:15:06 +08:00
committed by GitHub
parent 77d6f9ae6f
commit 791d203b5f

View File

@ -39,6 +39,8 @@ func (ps *Process) Match(metadata *C.Metadata) bool {
return false
}
processCache.Set(key, name)
cached = name
}