chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
machined: sync to /run after job completed
[elogind.git]
/
src
/
core
/
dbus-cgroup.c
diff --git
a/src/core/dbus-cgroup.c
b/src/core/dbus-cgroup.c
index cf05f04ea1d5ccf83f5388f5f9e16ef22a6894c8..d1d35633c122be3c8ac4a6322429c77a1dc340ad 100644
(file)
--- a/
src/core/dbus-cgroup.c
+++ b/
src/core/dbus-cgroup.c
@@
-323,8
+323,6
@@
int bus_cgroup_set_property(
return -EINVAL;
}
- n++;
-
if (mode != UNIT_CHECK) {
a = new0(CGroupDeviceAllow, 1);
if (!a)
@@
-343,6
+341,7
@@
int bus_cgroup_set_property(
LIST_PREPEND(CGroupDeviceAllow, device_allow, c->device_allow, a);
}
+ n++;
dbus_message_iter_next(&sub);
}