summaryrefslogtreecommitdiff
path: root/src/core/dbus-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/dbus-service.c')
-rw-r--r--src/core/dbus-service.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c
index c4bfa2c38f..3fa2d33638 100644
--- a/src/core/dbus-service.c
+++ b/src/core/dbus-service.c
@@ -169,6 +169,10 @@ static int bus_service_set_transient_property(
if (r < 0)
return r;
+ r = sd_bus_message_exit_container(message);
+ if (r < 0)
+ return r;
+
if (mode != UNIT_CHECK) {
_cleanup_free_ char *buf = NULL;
_cleanup_fclose_ FILE *f = NULL;