]> git.proxmox.com Git - lxcfs.git/blame - 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
CommitLineData
4489c4e9
WB
1From 05e1642e07216fad032d64abd52999d15a732bf4 Mon Sep 17 00:00:00 2001
2From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3Date: Wed, 21 Oct 2015 11:31:01 +0200
4Subject: [PATCH lxcfs 1/2] lxc mount hook: add missing space before ]
5
6Otherwise [ interprets the ] as part of the path and also
7errors about a missing ']'
8---
9 share/lxc.mount.hook.in | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/share/lxc.mount.hook.in b/share/lxc.mount.hook.in
13index 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--
262.1.4
27