Commit b765aa88 by Felix Abecassis

start: fix parent PID passed to lxc_set_death_signal

Fixes: #2902 Signed-off-by: 's avatarFelix Abecassis <fabecassis@nvidia.com>
parent 7e610509
......@@ -1112,7 +1112,7 @@ static int do_start(void *data)
* exit before we set the pdeath signal leading to a unsupervized
* container.
*/
ret = lxc_set_death_signal(SIGKILL, 0);
ret = lxc_set_death_signal(SIGKILL, handler->monitor_pid);
if (ret < 0) {
SYSERROR("Failed to set PR_SET_PDEATHSIG to SIGKILL");
goto out_warn_father;
......
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