diff options
Diffstat (limited to 'api.c')
-rw-r--r-- | api.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -691,8 +691,13 @@ base_open_err: cgroup->controller[i]->name)) continue; error = rmdir(path); + if (error < 0 && errno == ENOENT) + error = 0; } } + if (error) + return ECGOTHER; + return error; } |