mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 00:24:40 +01:00
improved the process tree retrieval
This commit is contained in:
parent
740465a447
commit
5eebaf40fc
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ var pageSize = int64(os.Getpagesize())
|
|||
func (p *Process) GetParent() {
|
||||
hasParent := p.Parent != nil
|
||||
|
||||
if hasParent {
|
||||
if hasParent && p.ID == 1 {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue