]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxccontainer: handle execute containers correctly
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 6 Dec 2017 14:37:40 +0000 (15:37 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 6 Dec 2017 15:01:24 +0000 (16:01 +0100)
commitfa30091bb5bef1c1267357d876e5de51f3d990f5
tree4c03a40e63d792ca7dc8fef3c0a42515c2843d9f
parent8f98ac7b0f3f25e42f6de50c4d43ec74bcb90c8d
lxccontainer: handle execute containers correctly

It doesn't make sense to error out when an app container doesn't pass explicit
arguments through c->start{l}(). This is especially true since we implemented
lxc.execute.cmd. However, even before we could have always relied on
lxc.init.cmd and errored out after that.

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