summaryrefslogtreecommitdiff
path: root/src/run
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-21 20:05:49 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-21 21:12:36 +0100
commit86b8d289717bad2800342efca0a5023aa8374e9c (patch)
tree60a5bea89f3e22c066485fdb53aac664fa39d2b0 /src/run
parentebcf1f97de4f6b1580ae55eb56b1a3939fe6b602 (diff)
logind,machined,run: properly invoke StartTransientUnit() bus call
Diffstat (limited to 'src/run')
-rw-r--r--src/run/run.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/run/run.c b/src/run/run.c
index 539db6f494..2e0cd1a6d2 100644
--- a/src/run/run.c
+++ b/src/run/run.c
@@ -237,6 +237,10 @@ static int message_start_transient_unit_send(sd_bus *bus, sd_bus_message *m, sd_
if (r < 0)
return r;
+ r = sd_bus_message_append(m, "a(sa(sv))", 0);
+ if (r < 0)
+ return r;
+
return sd_bus_call(bus, m, 0, error, reply);
}