chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unit: when destructing units make sure we don't readd the unit to the gc queue after...
[elogind.git]
/
src
/
cgroup.c
diff --git
a/src/cgroup.c
b/src/cgroup.c
index 56529eb6b23b5938a38e648e83a76dda4491f7d6..fb4047f2153cb49d10fb69ea413f7234a80255d6 100644
(file)
--- 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;
}
}