mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
cgroup: consider not-realized cgroups empty when killing all processes in them
This commit is contained in:
parent
68d157d894
commit
7c64bbc387
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue