diff options
author | startx2017 <vradu.startx@yandex.com> | 2019-06-03 11:20:18 -0400 |
---|---|---|
committer | startx2017 <vradu.startx@yandex.com> | 2019-06-03 11:20:18 -0400 |
commit | e6cd0c1a8031f751feeedc11466addc6a4f70142 (patch) | |
tree | ca6dd7005e3de2d016c022190d610263443d8f37 /src | |
parent | Fix comment in gimp.profile (#2742) (diff) | |
download | firejail-e6cd0c1a8031f751feeedc11466addc6a4f70142.tar.gz firejail-e6cd0c1a8031f751feeedc11466addc6a4f70142.tar.zst firejail-e6cd0c1a8031f751feeedc11466addc6a4f70142.zip |
LTSbase merge: fix firemon reporting for processes started with --join
Diffstat (limited to 'src')
-rw-r--r-- | src/firemon/firemon.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) { | |||
83 | return i; | 83 | return i; |
84 | } | 84 | } |
85 | 85 | ||
86 | return -1; | 86 | // if a second child is not found, return the first child pid |
87 | // this happens for processes sandboxed with --join | ||
88 | return first_child; | ||
87 | } | 89 | } |
88 | 90 | ||
89 | // sleep and wait for a key to be pressed | 91 | // sleep and wait for a key to be pressed |