]> git.proxmox.com Git - lxcfs.git/blob - debian/patches/0001-lxc-mount-hook-add-missing-space-before.patch
bump version to 0.10-pve2
[lxcfs.git] / debian / patches / 0001-lxc-mount-hook-add-missing-space-before.patch
1 From 05e1642e07216fad032d64abd52999d15a732bf4 Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Wed, 21 Oct 2015 11:31:01 +0200
4 Subject: [PATCH lxcfs 1/2] lxc mount hook: add missing space before ]
5
6 Otherwise [ interprets the ] as part of the path and also
7 errors about a missing ']'
8 ---
9 share/lxc.mount.hook.in | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/share/lxc.mount.hook.in b/share/lxc.mount.hook.in
13 index 7194ab8..5ed2d60 100755
14 --- a/share/lxc.mount.hook.in
15 +++ b/share/lxc.mount.hook.in
16 @@ -30,7 +30,7 @@ if [ -d "${LXC_ROOTFS_MOUNT}/sys/fs/cgroup" ]; then
17 continue
18 fi
19
20 - if [ ! -d ${LXC_ROOTFS_MOUNT}/sys/fs/cgroup/$DEST]; then
21 + if [ ! -d ${LXC_ROOTFS_MOUNT}/sys/fs/cgroup/$DEST ]; then
22 mkdir ${LXC_ROOTFS_MOUNT}/sys/fs/cgroup/$DEST
23 fi
24
25 --
26 2.1.4
27