Skip to content

Commit

Permalink
Fix: fence_pcmk: Do not propagate SIGTERM back to fenced
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed Aug 1, 2013
1 parent 6502e0b commit e6e572f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fencing/fence_pcmk
Expand Up @@ -187,7 +187,7 @@ sub term_handler {
kill(TERM,-getpgrp($$));
}

setpgrp($$,0);
setpgrp(0,0);
$agent_pid=$$;

if ( $pid=fork() == 0 )
Expand Down

0 comments on commit e6e572f

Please sign in to comment.