chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there
[elogind.git]
/
src
/
core
/
dbus-unit.c
diff --git
a/src/core/dbus-unit.c
b/src/core/dbus-unit.c
index 5f1b2afd5b1692def9f9e9e031807e16f6fa20bc..8c1ce61151d5aea69ccda6e13a0cf94546fd3bfd 100644
(file)
--- a/
src/core/dbus-unit.c
+++ b/
src/core/dbus-unit.c
@@
-1034,7
+1034,7
@@
int bus_unit_cgroup_unset(Unit *u, DBusMessageIter *iter) {
unit_remove_drop_in(u, runtime, controller);
/* Try to migrate the old group away */
unit_remove_drop_in(u, runtime, controller);
/* Try to migrate the old group away */
- if (cg_
get_by_pid
(controller, 0, &target) >= 0)
+ if (cg_
pid_get_path
(controller, 0, &target) >= 0)
cgroup_bonding_migrate_to(u->cgroup_bondings, target, false);
cgroup_bonding_free(b, true);
cgroup_bonding_migrate_to(u->cgroup_bondings, target, false);
cgroup_bonding_free(b, true);