chiark / gitweb /
hostnamectl: should the sanitized arch, not the native uname() one
[elogind.git] / src / core / dbus-swap.c
index bad53feb5f66ebbe0d73e368209efa590938a1d9..93eae53c29ef0c268aaba50951fad3d60968158a 100644 (file)
@@ -69,14 +69,6 @@ const sd_bus_vtable bus_swap_vtable[] = {
         SD_BUS_VTABLE_END
 };
 
-const char* const bus_swap_changing_properties[] = {
-        "What",
-        "Priority",
-        "ControlPID",
-        "Result",
-        NULL
-};
-
 int bus_swap_set_property(
                 Unit *u,
                 const char *name,
@@ -96,6 +88,8 @@ int bus_swap_set_property(
 int bus_swap_commit_properties(Unit *u) {
         assert(u);
 
+        unit_update_cgroup_members_masks(u);
         unit_realize_cgroup(u);
+
         return 0;
 }