From e6cd0c1a8031f751feeedc11466addc6a4f70142 Mon Sep 17 00:00:00 2001 From: startx2017 Date: Mon, 3 Jun 2019 11:20:18 -0400 Subject: LTSbase merge: fix firemon reporting for processes started with --join --- src/firemon/firemon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/firemon') diff --git a/src/firemon/firemon.c b/src/firemon/firemon.c index e5f1b6f9a..b3c435d9e 100644 --- a/src/firemon/firemon.c +++ b/src/firemon/firemon.c @@ -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 -- cgit v1.2.3-54-g00ecf