]> git.ipfire.org Git - thirdparty/lxc.git/commit
Make LXC_CLONE_KEEPNAME work
authorChristian Brauner <christianvanbrauner@gmail.com>
Fri, 7 Aug 2015 23:31:21 +0000 (01:31 +0200)
committerChristian Brauner <christianvanbrauner@gmail.com>
Sat, 8 Aug 2015 00:35:03 +0000 (02:35 +0200)
commiteab218fbf7c70ab3143440ef1165e5bdd4f51a71
treefc7eb30d96da5504913e19a27786495e034e89c2
parent840d2afe82f6987e2506264ed3473d785c4ee2eb
Make LXC_CLONE_KEEPNAME work

Passing the LXC_CLONE_KEEPNAME flag to do_lxcapi_clone() was not respected. We
wrap clear_unexp_config_line() and set_config_item_line() in an appropriate
if-condition.

Signed-off-by: Christian Brauner <christianvanbrauner@gmail.com>
src/lxc/lxccontainer.c