attach to cgroup first, then mount namespace

This commit is contained in:
cody burkard committed 2014-09-25 22:51:48 -07:00
1 parent 5fc3f57ede
commit e16c5fe905
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -40,5 +40,5 @@ if [ -d $rootdir -a -x $rootdir/bin/bash ]; then
cmd="chroot $rootdir /bin/bash -c $cmd"
fi
cmd="exec sudo mnexec -a $pid $cg $cmd"
cmd="exec sudo mnexec $cg -a $pid $cmd"
eval $cmd