summaryrefslogtreecommitdiff
path: root/src/core/dbus-service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-21 20:49:04 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-21 21:12:36 +0100
commit6ce270b10ad5538fb60dabcf409a49a9c5fd0e8d (patch)
tree5caa8aa6042f1b369d04be187dd278b5e5c6a41d /src/core/dbus-service.c
parent21586b77de9bad401f245dd55b75cedb0c2e9b7c (diff)
core: fix deserialization of StartTransientUnit() parameters
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;