path-lookup: add configured unit paths back into search path

After all, for test builds they might differ from /etc/systemd/{user|system},
hence they should be included.
This commit is contained in:
Lennart Poettering
2016-04-12 13:43:30 +02:00
parent 92dd7c4965
commit 5f0a41dade
+2
View File
@@ -451,6 +451,7 @@ int lookup_paths_init(
* systemdsystemunitpath= in systemd.pc.in! */
STRV_IFNOTNULL(generator_early),
persistent_config,
SYSTEM_CONFIG_UNIT_PATH,
"/etc/systemd/system",
runtime_config,
"/run/systemd/system",
@@ -472,6 +473,7 @@ int lookup_paths_init(
* the arrays in user_dirs() above! */
STRV_IFNOTNULL(generator_early),
persistent_config,
USER_CONFIG_UNIT_PATH,
"/etc/systemd/user",
runtime_config,
"/run/systemd/user",