Quoting Wolfgang Bumiller ([email protected]): > Otherwise [ interprets the ] as part of the path and also > errors about a missing ']'
Thought this had already been applied, but not seeing it in master, so Acked-by: Serge E. Hallyn <[email protected]> Can I add your signed-off-by? > --- > share/lxc.mount.hook.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/share/lxc.mount.hook.in b/share/lxc.mount.hook.in > index 7194ab8..5ed2d60 100755 > --- a/share/lxc.mount.hook.in > +++ b/share/lxc.mount.hook.in > @@ -30,7 +30,7 @@ if [ -d "${LXC_ROOTFS_MOUNT}/sys/fs/cgroup" ]; then > continue > fi > > - if [ ! -d ${LXC_ROOTFS_MOUNT}/sys/fs/cgroup/$DEST]; then > + if [ ! -d ${LXC_ROOTFS_MOUNT}/sys/fs/cgroup/$DEST ]; then > mkdir ${LXC_ROOTFS_MOUNT}/sys/fs/cgroup/$DEST > fi > > -- > 2.1.4 > > > _______________________________________________ > lxc-devel mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-devel _______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
