mirror of
https://github.com/safing/portbase
synced 2025-09-02 18:50:14 +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" {
|
if fields[0] == "svchost.exe" {
|
||||||
// save old entry
|
// save old entry
|
||||||
if pid != 0 {
|
if pid != 0 {
|
||||||
collection[pid] = services
|
collection[pid] = strings.TrimSpace(services)
|
||||||
}
|
}
|
||||||
// reset
|
// reset
|
||||||
pid = 0
|
pid = 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue