Merge pull request #391 from cdburkard/patches/fix_popen

workaround: attach to cgroup first, then mount namespace
This commit is contained in:
lantz
2014-09-26 16:47:06 -07:00
2 changed files with 3 additions and 3 deletions
+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