mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03: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 New Issue
Block a user