]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/lxccontainer.c
wait_on_damonized-start: wait only on the pid we want
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 8 Nov 2013 17:41:16 +0000 (17:41 +0000)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 8 Nov 2013 19:31:51 +0000 (13:31 -0600)
commit03f064ff7447816c89fff24de9b0a5076614dfd3
tree53586feb986da5986e1b98b2b608979f5b7a7a02
parent2d834aa8074b3e8f7341ad9feff7a7c5b695a3b3
wait_on_damonized-start: wait only on the pid we want

Otherwise we can reap another thread's forked pid.

Changelog: Per Dwight's suggestion, use pid_t for argument.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: S.Çağlar Onur <caglar@10ur.org>
src/lxc/lxccontainer.c