mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-25 23:21:33 +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/local/lib/systemd/system",
|
||||||
"/usr/lib/systemd/system",
|
"/usr/lib/systemd/system",
|
||||||
SYSTEM_DATA_UNIT_PATH,
|
SYSTEM_DATA_UNIT_PATH,
|
||||||
|
#ifdef HAVE_SPLIT_USR
|
||||||
"/lib/systemd/system",
|
"/lib/systemd/system",
|
||||||
|
#endif
|
||||||
NULL)))
|
NULL)))
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user