[lxc-devel] [PATCH lxcfs 1/2] lxc mount hook: add missing space before ]
Serge Hallyn
serge.hallyn at ubuntu.com
Wed Oct 21 13:48:17 UTC 2015
Quoting Wolfgang Bumiller (w.bumiller at proxmox.com):
> 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 <serge.hallyn at ubuntu.com>
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
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list