Commit 73a8516
committed
cgroupv2: reset lastErr to nil when subtree control is successfully written
As stated originally in the comment, ``the user may face EPERM on parent
groups", it should not be an error when writing to grand-parent groups fails
but writing to the last one succeeds.
Signed-off-by: Miao Wang <[email protected]>1 parent 2ca92c5 commit 73a8516
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
275 | 277 | | |
276 | 278 | | |
277 | 279 | | |
| |||
0 commit comments