]> git.proxmox.com Git - mirror_lxc.git/commit
init: become session leader
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 10 Oct 2017 13:53:11 +0000 (15:53 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 17 Oct 2017 05:44:21 +0000 (01:44 -0400)
commit79d5bcf1635b872eb0dec5cdc3ac31f1f2337885
tree3ec03ce60b7187b9b6ebbadf750625d89a24f8c7
parent25af2ac7f3aa524092258c0da128a6223f98cfed
init: become session leader

Before exec()ing we need to become session leader otherwise some shells will
not be able to correctly initialize job control.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/tools/lxc_init.c