Commit 0ecd2b6
committed
cgroups: fix MoveTo function fail problem
reason: there maybe some multi processes in the cgroup.procs file,if
some processes exit before call destination.Add(p), it will get the error
"no such process" which means process has exit and we just ignore this
error and continue to move left processes in cgroup.procs file.
Signed-off-by: jiangpengfei <[email protected]>1 parent 51b62d3 commit 0ecd2b6
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
500 | 503 | | |
501 | 504 | | |
502 | 505 | | |
| |||
0 commit comments