diff options
Diffstat (limited to 'src/cgroup.c')
-rw-r--r-- | src/cgroup.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cgroup.c b/src/cgroup.c index 56529eb6b2..fb4047f215 100644 --- a/src/cgroup.c +++ b/src/cgroup.c @@ -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; } } |