[lxc-devel] [PATCH lxcfs 1/2] lxc mount hook: add missing space before ]

Christian Brauner christianvanbrauner at gmail.com
Wed Oct 21 13:53:15 UTC 2015


On Wed, Oct 21, 2015 at 01:48:17PM +0000, Serge Hallyn wrote:
> 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

I sent the patch to the mailing list a couple of days ago but it hasn't been
applied on Github.

> 
> 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
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20151021/d15ea941/attachment.sig>


More information about the lxc-devel mailing list