1
0
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:
Dimitri John Ledkov 2018-09-12 19:52:30 +01:00
parent ea368f0bd2
commit a3156a8ee4

View File

@ -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);