mirror of
https://github.com/ARM-software/devlib.git
synced 2025-02-07 05:30:44 +00:00
Merge pull request #77 from bjackman/cgroups-shutils-fix
shutils/cgroups: Don't fail when racing with process exit
This commit is contained in:
commit
68f7585ac2
@ -163,7 +163,7 @@ cgroups_tasks_move() {
|
|||||||
for TID in $PIDS; do
|
for TID in $PIDS; do
|
||||||
COMM=`$CAT /proc/$TID/comm`
|
COMM=`$CAT /proc/$TID/comm`
|
||||||
echo "$TID : $COMM"
|
echo "$TID : $COMM"
|
||||||
echo $TID > $SRC_GRP/cgroup.procs
|
echo $TID > $SRC_GRP/cgroup.procs || true
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user