diff options
Diffstat (limited to 'src/login/logind.c')
-rw-r--r-- | src/login/logind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind.c b/src/login/logind.c index db26701dd..c7acb05cb 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -784,9 +784,9 @@ static int manager_connect_bus(Manager *m) { "Subscribe", NULL, NULL, NULL); -#endif // 0 if (r < 0) return log_error_errno(r, "Failed to enable subscription: %m"); +#endif // 0 r = sd_bus_request_name_async(m->bus, NULL, "org.freedesktop.login1", 0, NULL, NULL); if (r < 0) @@ -969,8 +969,8 @@ static int manager_connect_udev(Manager *m) { return r; } - /* Don't bother watching VCSA devices, if nobody cares */ #if 0 /// elogind does not support autospawning of vts + /* Don't bother watching VCSA devices, if nobody cares */ if (m->n_autovts > 0 && m->console_active_fd >= 0) { m->udev_vcsa_monitor = udev_monitor_new_from_netlink(m->udev, "udev"); |