]> git.ipfire.org Git - thirdparty/lxc.git/commit
execute: set init_path when existing init is found 2308/head
authorTycho Andersen <tycho@tycho.ws>
Wed, 9 May 2018 01:48:31 +0000 (01:48 +0000)
committerTycho Andersen <tycho@tycho.ws>
Wed, 9 May 2018 14:36:02 +0000 (14:36 +0000)
commit410898489fb1ca8ed774ffc9ff030c64662f51a6
tree5e6f59f725dbe0e32029da3f5b5bbfbfcdc126ff
parent9c40b2d97829ce2afea4eed9cb4eac40ccec82e5
execute: set init_path when existing init is found

I'm not really sure we should be looking in the rootfs for an existing
init, but I'll send a much more invasive patch to correct that. For now,
let's just make sure we set init_path when we find one, so that later in
execute_start() we don't bail.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
src/lxc/conf.c