From 764458325ef3586229137694538bcf5e8bde8c48 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 10 Dec 2014 19:57:45 +0100 Subject: core: properly pass unit file state to clients via the bus --- src/core/dbus-unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/dbus-unit.c') diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index 0850fb3d46..b968009938 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -207,7 +207,7 @@ static int property_get_unit_file_state( assert(reply); assert(u); - return sd_bus_message_append(reply, "s", unit_file_state_to_string(unit_get_unit_file_preset(u))); + return sd_bus_message_append(reply, "s", unit_file_state_to_string(unit_get_unit_file_state(u))); } static int property_get_can_start( -- cgit v1.2.3-54-g00ecf