Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/openrc
This commit is contained in:
commit
ccb8c5835c
@ -5,6 +5,6 @@
|
||||
|
||||
cgroup=/sys/fs/cgroup/openrc
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
if [ -d ${cgroup}/$1 ]; then
|
||||
rmdir ${cgroup}/$1
|
||||
if [ -d ${cgroup}/"$1" ]; then
|
||||
rmdir ${cgroup}/"$1"
|
||||
fi
|
||||
|
@ -115,7 +115,7 @@ cgroup_cleanup()
|
||||
cgroup_get_pids || { eend 0 "finished" ; return 0 ; }
|
||||
sleep 1
|
||||
done
|
||||
done
|
||||
done 2>/dev/null
|
||||
done
|
||||
cgroup_get_pids || { eend 0 "finished" ; return 0; }
|
||||
kill -9 $pids
|
||||
|
Loading…
Reference in New Issue
Block a user