Fix spacing in svchost parsing, again

This commit is contained in:
Daniel 2019-05-22 16:11:05 +02:00
parent 56e112f484
commit bbf06b31ac

View file

@ -83,7 +83,7 @@ func GetAllServiceNames() (map[int32]string, error) {
if fields[0] == "svchost.exe" {
// save old entry
if pid != 0 {
collection[pid] = services
collection[pid] = strings.TrimSpace(services)
}
// reset
pid = 0