diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cgroup-util.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cgroup-util.c b/src/cgroup-util.c index 2167cdd6d0..ccc94f86a1 100644 --- a/src/cgroup-util.c +++ b/src/cgroup-util.c @@ -298,7 +298,9 @@ int cg_kill_recursive(const char *controller, const char *path, int sig, bool ig if (rem) if ((r = cg_rmdir(controller, path)) < 0) { - if (ret >= 0 && r != -ENOENT) + if (ret >= 0 && + r != -ENOENT && + r != -EBUSY) ret = r; } @@ -459,7 +461,9 @@ int cg_migrate_recursive(const char *controller, const char *from, const char *t if (rem) if ((r = cg_rmdir(controller, from)) < 0) { - if (ret >= 0 && r != -ENOENT) + if (ret >= 0 && + r != -ENOENT && + r != -EBUSY) ret = r; } |