diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-09-16 11:19:43 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-09-25 14:40:03 +0200 |
commit | 658babfa1e20b04ba1922cd0f7ac5242c77e6103 (patch) | |
tree | 6ccb31a289f0a4dd517e58224e94fd9f99f8a857 /src/core/cgroup.c | |
parent | e91c2a4fe4ede894d1cf54f9dbd9ba7a630d910c (diff) |
Make test_run into a flags field and disable generators again
Now generators are only run in elogind --test mode, where this makes
most sense (how are you going to test what would happen otherwise?).
Fixes #6842.
v2:
- rename test_run to test_run_flags
Diffstat (limited to 'src/core/cgroup.c')
-rw-r--r-- | src/core/cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cgroup.c b/src/core/cgroup.c index f53bbc6e5..01041d817 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -1824,7 +1824,7 @@ int manager_setup_cgroup(Manager *m) { log_debug("Using cgroup controller " SYSTEMD_CGROUP_CONTROLLER_LEGACY ". File system hierarchy is at %s.", path); } - if (!m->test_run) { + if (!m->test_run_flags) { const char *scope_path; #if 0 /// elogind is not init, and does not install the agent here. |