Commit 97d8f4b7 by Felix Abecassis

Fix monitor pdeathsig handling

parent f08a5cc4
...@@ -1438,7 +1438,7 @@ static int do_start(void *data) ...@@ -1438,7 +1438,7 @@ static int do_start(void *data)
} }
if (handler->conf->monitor_signal_pdeath != SIGKILL) { if (handler->conf->monitor_signal_pdeath != SIGKILL) {
ret = lxc_set_death_signal(handler->conf->monitor_signal_pdeath, 0); ret = lxc_set_death_signal(handler->conf->monitor_signal_pdeath, handler->monitor_pid);
if (ret < 0) { if (ret < 0) {
SYSERROR("Failed to set PR_SET_PDEATHSIG to %d", SYSERROR("Failed to set PR_SET_PDEATHSIG to %d",
handler->conf->monitor_signal_pdeath); handler->conf->monitor_signal_pdeath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment