mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-27 14:03:43 +03:00
core: execute environment_generators with manager's environment
This commit is contained in:
parent
78ec1bb436
commit
ea368f0bd2
@ -3788,7 +3788,7 @@ static int manager_run_environment_generators(Manager *m) {
|
||||
if (!generator_path_any(paths))
|
||||
return 0;
|
||||
|
||||
return execute_directories(paths, DEFAULT_TIMEOUT_USEC, gather_environment, args, NULL, NULL);
|
||||
return execute_directories(paths, DEFAULT_TIMEOUT_USEC, gather_environment, args, NULL, m->environment);
|
||||
}
|
||||
|
||||
static int manager_run_generators(Manager *m) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user