mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
core: execute generators with manager's environmnet
This commit is contained in:
parent
ea368f0bd2
commit
a3156a8ee4
@ -3820,7 +3820,7 @@ static int manager_run_generators(Manager *m) {
|
||||
|
||||
RUN_WITH_UMASK(0022)
|
||||
execute_directories((const char* const*) paths, DEFAULT_TIMEOUT_USEC,
|
||||
NULL, NULL, (char**) argv, NULL);
|
||||
NULL, NULL, (char**) argv, m->environment);
|
||||
|
||||
finish:
|
||||
lookup_paths_trim_generator(&m->lookup_paths);
|
||||
|
Loading…
Reference in New Issue
Block a user