cgroup: consider not-realized cgroups empty when killing all processes in them
This commit is contained in:
+4
-1
@@ -194,7 +194,10 @@ int cgroup_bonding_kill(CGroupBonding *b, int sig) {
|
||||
r = 0;
|
||||
goto kill_done;
|
||||
} else {
|
||||
r = translate_error(r, errno);
|
||||
if (r == ECGOTHER && errno == ENOENT)
|
||||
r = ESRCH;
|
||||
else
|
||||
r = translate_error(r, errno);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user