Skip to content

Commit

Permalink
Fix None parent for initial process list processing
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Jul 26, 2024
1 parent 0fcef90 commit d329d5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drakrun/drakrun/lib/postprocessing/build_process_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ def parse_running_process_entry(pstree: ProcessTree, entry: Dict[str, Any]) -> N
ts_to=None,
parent=parent,
)
parent.children.append(p)
if parent is not None:
parent.children.append(p)
pstree.add_process(p)


Expand Down

0 comments on commit d329d5c

Please sign in to comment.