From 5d48cd27270e74f878f6ed3fe119e4cf3ef7f84e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 19 Jul 2013 02:47:05 +0200 Subject: [PATCH] machined: correct how some properties are exported on the bus --- src/login/logind-session-dbus.c | 1 - src/machine/machine-dbus.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c index 7aba3477a..62b9ffd52 100644 --- a/src/login/logind-session-dbus.c +++ b/src/login/logind-session-dbus.c @@ -62,7 +62,6 @@ " \n" \ " \n" \ " \n" \ - " \n" \ " \n" \ " \n" \ " \n" \ diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c index 243b8604c..6e1b8f818 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 }, -- 2.30.2