]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgfs: prune the init scope from paths 785/head
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Sun, 31 Jan 2016 15:34:54 +0000 (16:34 +0100)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Sun, 31 Jan 2016 15:34:54 +0000 (16:34 +0100)
commit3939a22a481a596049e7687cb1499f11c9000c86
tree5f17f6287124d5b2401bf8cc704022a2cd397f37
parent79c59e6b77feb3bf96f58f4bb74ea119b2aeb35c
cgfs: prune the init scope from paths

Just as cgmanager does, if we are calculating a task's paths, drop
the trailing '/init.scope'.  We don't want the container to sit under
there.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/cgfs.c