summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/dbus-unit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c
index 3c25c36729..666c97c98d 100644
--- a/src/core/dbus-unit.c
+++ b/src/core/dbus-unit.c
@@ -326,7 +326,10 @@ static int property_get_conditions(
return r;
LIST_FOREACH(conditions, c, u->conditions) {
- r = sd_bus_message_append(reply, "sbbsi", condition_type_to_string(c->type), c->trigger, c->negate, c->parameter, c->state);
+ r = sd_bus_message_append(reply, "(sbbsi)",
+ condition_type_to_string(c->type),
+ c->trigger, c->negate,
+ c->parameter, c->state);
if (r < 0)
return r;