Skip to content
Snippets Groups Projects
Commit 9d91c54e authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'kill-fix' into 'master'

We test a process is up by kill 0 not kill -1



See merge request !16
parents f92200ba 86f71afe
No related branches found
No related tags found
1 merge request!16We test a process is up by kill 0 not kill -1
......@@ -663,7 +663,7 @@ exit 0;
sub cleanup
{
# Kill the child
if ($forwardChild && kill(-1,$forwardChild)) {
if ($forwardChild && kill(0,$forwardChild)) {
kill('TERM',$forwardChild);
# Wait for it to die
waitpid($forwardChild,-1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment