]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxccontainer: fix container copy 2770/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 7 Jan 2019 12:37:06 +0000 (13:37 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 7 Jan 2019 12:37:06 +0000 (13:37 +0100)
commit3d7e738a6befb76c47ba2c5fcc46d8cfa447171f
tree63470f2a4a22ffcd6b895db6442778df3f8ec2fb
parentde60a7fe1c5260d4e862656c3a9090ad529d028d
lxccontainer: fix container copy

We need to strip the prefix from the container's source path before
trying to update the file.

Closes #2380.

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