summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/login/logind-seat-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-seat-dbus.c b/src/login/logind-seat-dbus.c
index 76158e501b..23f975bca7 100644
--- a/src/login/logind-seat-dbus.c
+++ b/src/login/logind-seat-dbus.c
@@ -103,7 +103,7 @@ static int property_get_can_graphical(
assert(reply);
assert(s);
- return sd_bus_message_append(reply, "b", seat_can_tty(s));
+ return sd_bus_message_append(reply, "b", seat_can_graphical(s));
}
static int property_get_sessions(