Skip to content

Commit

Permalink
LTSbase merge: fix firemon reporting for processes started with --join
Browse files Browse the repository at this point in the history
  • Loading branch information
startx2017 committed Jun 3, 2019
1 parent 85e0f99 commit e6cd0c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/firemon/firemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ int find_child(int id) {
return i;
}

return -1;
// if a second child is not found, return the first child pid
// this happens for processes sandboxed with --join
return first_child;
}

// sleep and wait for a key to be pressed
Expand Down

0 comments on commit e6cd0c1

Please sign in to comment.