]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/start.c
conf: always send response to parent waiting for devptfs_fd
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 20 Oct 2020 11:02:00 +0000 (13:02 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 20 Oct 2020 11:34:24 +0000 (13:34 +0200)
commit68f3899e4aad1695fd31e5da47dcf3897d2ae2d9
tree0c3a783784e892419125343c8b6fcdc27d0e0d3f
parent1593efb5d7e85721b2c9a69dde88e533d2f9cebe
conf: always send response to parent waiting for devptfs_fd

When no devpts devices are requested we used to return early but did not send a
response to the parent. This is a problem because the parent will be waiting
for a devpts fd to be sent. Make sure to always send a response.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c
src/lxc/conf.h
src/lxc/start.c