Fix libs/cgroups.bash
This commit is contained in:
parent
56118359d1
commit
3e71e8c2bb
@ -9,7 +9,7 @@ if [ "$PS1" ] ; then
|
||||
cdir=/dev/cgroup
|
||||
fi
|
||||
|
||||
if [ -n "$cdir" ]; then
|
||||
if [ -n "$cdir/user" ]; then
|
||||
mkdir -p -m 0700 $cdir/user/$$ > /dev/null 2>&1
|
||||
/bin/echo $$ > $cdir/user/$$/tasks
|
||||
/bin/echo '1' > $cdir/user/$$/notify_on_release
|
||||
|
Loading…
Reference in New Issue
Block a user