summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-10 19:57:45 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-10 19:58:50 +0100
commit764458325ef3586229137694538bcf5e8bde8c48 (patch)
tree52f93485bc3e827bfdf23c8a7c4445d5431c77d0 /src/core
parentb9f08b1ff40197fe9b2fa892c5b7e7650c22d0ac (diff)
core: properly pass unit file state to clients via the bus
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dbus-unit.c2
1 files changed, 1 insertions, 1 deletions
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(