aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/firemon/firemon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/firemon/firemon.c b/src/firemon/firemon.c
index 6124310b1..35b7b3026 100644
--- a/src/firemon/firemon.c
+++ b/src/firemon/firemon.c
@@ -81,7 +81,9 @@ int find_child(int id) {
81 return i; 81 return i;
82 } 82 }
83 83
84 return -1; 84 // if a second child is not found, return the first child pid
85 // this happens for processes sandboxed with --join
86 return first_child;
85} 87}
86 88
87// sleep and wait for a key to be pressed 89// sleep and wait for a key to be pressed