1
1
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:
Lennart Poettering 2012-02-14 00:24:49 +01:00
parent 72e764a691
commit 283b73b3bb

View File

@ -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;
}