]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
configure: remove slash from cgroup pattern 1771/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 30 Aug 2017 14:45:45 +0000 (16:45 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 30 Aug 2017 14:45:45 +0000 (16:45 +0200)
This is the cause of the unnecessary extraneous slashes when creating cgroups.
Our lxc.system.conf page also clearly shows "lxc/%n" as example, not "/lxc%n".

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
configure.ac

index cbdedb69e1635779705df89dd2175c0b6df054ee..8343525c99a8af1d37c30b403faf7b1a012978ff 100644 (file)
@@ -558,7 +558,7 @@ AC_ARG_WITH([cgroup-pattern],
        [AC_HELP_STRING(
                [--with-cgroup-pattern=pattern],
                [pattern for container cgroups]
-       )], [], [with_cgroup_pattern=['/lxc/%n']])
+       )], [], [with_cgroup_pattern=['lxc/%n']])
 
 # Container log path.  By default, use $lxcpath.
 AC_MSG_CHECKING([Whether to place logfiles in container config path])