mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
manager: fix scope for environment generators
fixes regression introduced by 4870133bfa
This commit is contained in:
committed by
Yu Watanabe
parent
f5b28e6bd8
commit
361cacf49e
@@ -3777,7 +3777,7 @@ static int manager_run_environment_generators(Manager *m) {
|
||||
if (MANAGER_IS_TEST_RUN(m) && !(m->test_run_flags & MANAGER_TEST_RUN_ENV_GENERATORS))
|
||||
return 0;
|
||||
|
||||
paths = env_generator_binary_paths(MANAGER_IS_SYSTEM(m));
|
||||
paths = env_generator_binary_paths(m->runtime_scope);
|
||||
if (!paths)
|
||||
return log_oom();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user