summaryrefslogtreecommitdiff
path: root/src/core/dbus-unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-06-28 00:41:24 +0200
committerLennart Poettering <lennart@poettering.net>2013-06-28 00:41:24 +0200
commit241da3287d0c16f79e2f415f17543599b3e73c85 (patch)
treef4fad09d26712732068016b97b8e66ee32357441 /src/core/dbus-unit.c
parent74c964d369b11bbf465c140c3f2dfcde2c7f5977 (diff)
unit: make sure the dropins we write are high-priority
Diffstat (limited to 'src/core/dbus-unit.c')
-rw-r--r--src/core/dbus-unit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c
index 1611da0172..b3724b679b 100644
--- a/src/core/dbus-unit.c
+++ b/src/core/dbus-unit.c
@@ -783,7 +783,6 @@ int bus_unit_set_properties(Unit *u, DBusMessageIter *iter, UnitSetPropertiesMod
return -EINVAL;
dbus_message_iter_recurse(iter, &sub);
-
for (;;) {
DBusMessageIter sub2, sub3;
const char *name;
@@ -830,7 +829,7 @@ int bus_unit_set_properties(Unit *u, DBusMessageIter *iter, UnitSetPropertiesMod
if (n > 0 && UNIT_VTABLE(u)->bus_commit_properties)
UNIT_VTABLE(u)->bus_commit_properties(u);
- return 0;
+ return n;
}
const BusProperty bus_unit_properties[] = {