mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Fix spacing in svchost parsing, again
This commit is contained in:
parent
56e112f484
commit
bbf06b31ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue