Merge pull request #391 from cdburkard/patches/fix_popen

workaround: attach to cgroup first, then mount namespace
This commit is contained in:
lantz committed 2014-09-26 16:47:06 -07:00
commit fa7edec7c8
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