mirror of
https://github.com/systemd/systemd.git
synced 2026-08-06 16:10:59 +00:00
path-lookup: search for unit files in /lib/systemd/system only on split /usr systems
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user