chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: fix deserialization of StartTransientUnit() parameters
[elogind.git]
/
src
/
core
/
dbus-service.c
diff --git
a/src/core/dbus-service.c
b/src/core/dbus-service.c
index c4bfa2c38f42f7434ee3f6a2da749fab7b412858..3fa2d3363871f41eaf21c9dba91518f41c43310b 100644
(file)
--- 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;