mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-22 06:28:35 +07:00
path-lookup: unconditionally check /usr and /usr/share unit directories
This commit is contained in:
parent
e6b3f00f66
commit
bf9a6e8bfc
@ -182,6 +182,8 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
|
||||
} else
|
||||
if (!(p->unit_path = strv_new(
|
||||
SYSTEM_CONFIG_UNIT_PATH, /* /etc/systemd/system/ */
|
||||
"/usr/local/share/systemd/system",
|
||||
"/usr/share/systemd/system",
|
||||
SYSTEM_DATA_UNIT_PATH, /* /lib/systemd/system/ */
|
||||
NULL)))
|
||||
return -ENOMEM;
|
||||
|
Loading…
Reference in New Issue
Block a user