summaryrefslogtreecommitdiff
path: root/src/machine/machine-dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-07-19 02:47:05 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-19 02:47:21 +0200
commit5d48cd27270e74f878f6ed3fe119e4cf3ef7f84e (patch)
tree1cc3c118898f8c34a1b5043d27b1166f1101d2d5 /src/machine/machine-dbus.c
parent98653cfb5005d0f505c48287d233d270ae6e75d6 (diff)
machined: correct how some properties are exported on the bus
Diffstat (limited to 'src/machine/machine-dbus.c')
-rw-r--r--src/machine/machine-dbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c
index 243b8604cd..6e1b8f8186 100644
--- a/src/machine/machine-dbus.c
+++ b/src/machine/machine-dbus.c
@@ -130,6 +130,7 @@ static const BusProperty bus_machine_machine_properties[] = {
{ "TimestampMonotonic", bus_property_append_usec, "t", offsetof(Machine, timestamp.monotonic) },
{ "Service", bus_property_append_string, "s", offsetof(Machine, service), true },
{ "Scope", bus_property_append_string, "s", offsetof(Machine, scope), true },
+ { "Leader", bus_property_append_pid, "u", offsetof(Machine, leader) },
{ "Class", bus_machine_append_class, "s", offsetof(Machine, class) },
{ "State", bus_machine_append_state, "s", 0 },
{ "RootDirectory", bus_property_append_string, "s", offsetof(Machine, root_directory), true },