chiark / gitweb /
core: fix deserialization of StartTransientUnit() parameters
[elogind.git] / src / core / dbus-service.c
index c4bfa2c38f42f7434ee3f6a2da749fab7b412858..3fa2d3363871f41eaf21c9dba91518f41c43310b 100644 (file)
@@ -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;