summaryrefslogtreecommitdiffstats
path: root/main/util-vserver/init-script.patch
blob: 2bfd40a9a4249b1fa6370a9d79cc6ed4dfa7ee68 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- util-vserver-0.30.216-pre2994.orig/gentoo/util-vserver
+++ util-vserver-0.30.216-pre2994/gentoo/util-vserver
@@ -58,7 +58,7 @@
 	$__PKGLIBDIR/bash-wrapper 'hasCgroup'
 	if [ $? -eq 0 ]; then
 		ebegin "Mounting cgroup-hierarchy"
-		$__PKGLIBDIR/bash-wrapper '_generateCgroupOptions; test -n "$CGROUP_MNT" || exit 0; $_MKDIR -p "$CGROUP_MNT"; $_MOUNT -t cgroup -o "$CGROUP_SUBSYS" vserver "$CGROUP_MNT"'
+		$__PKGLIBDIR/bash-wrapper '_generateCgroupOptions; test -n "$CGROUP_MNT" || exit 0; $_MKDIR -p "$CGROUP_MNT"; IFS=","; $_MOUNT -t cgroup -o "${CGROUP_SUBSYS[*]}" vserver "$CGROUP_MNT"'
 		eend $?
 	fi
 }