From e1e4981281ad1b819ebaa55f589c771130d35301 Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Sun, 19 Nov 2017 18:48:14 +0100 Subject: v235: Added missing updates --- src/login/elogind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/login/elogind.c') diff --git a/src/login/elogind.c b/src/login/elogind.c index 96cb7bd41..d6f2eaef4 100644 --- a/src/login/elogind.c +++ b/src/login/elogind.c @@ -243,7 +243,7 @@ int elogind_setup_cgroups_agent(Manager *m) { * to it. The system instance hence listens on this special socket, but the user instances listen on the system * bus for these messages. */ - if (m->test_run) + if (m->test_run_flags) return 0; if (!MANAGER_IS_SYSTEM(m)) @@ -382,7 +382,7 @@ int elogind_manager_new(Manager* m) { m->cgroups_agent_fd = -1; m->pin_cgroupfs_fd = -1; - m->test_run = false; + m->test_run_flags = 0; /* Init sleep modes and states */ m->suspend_mode = NULL; -- cgit v1.2.3