mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
path-lookup: search for unit files in /lib/systemd/system only on split /usr systems
This commit is contained in:
parent
72e764a691
commit
283b73b3bb
|
@ -230,7 +230,9 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as, bool personal
|
|||
"/usr/local/lib/systemd/system",
|
||||
"/usr/lib/systemd/system",
|
||||
SYSTEM_DATA_UNIT_PATH,
|
||||
#ifdef HAVE_SPLIT_USR
|
||||
"/lib/systemd/system",
|
||||
#endif
|
||||
NULL)))
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue