diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/logind.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/logind.c b/src/login/logind.c index 1169752873..6b7012ec73 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -1205,6 +1205,9 @@ int manager_startup(Manager *m) { assert(m); assert(m->epoll_fd <= 0); + cg_shorten_controllers(m->reset_controllers); + cg_shorten_controllers(m->controllers); + m->epoll_fd = epoll_create1(EPOLL_CLOEXEC); if (m->epoll_fd < 0) return -errno; |