From 283b73b3bb98ec8aab3ccc452e211f43a2dcf0df Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 14 Feb 2012 00:24:49 +0100 Subject: [PATCH] path-lookup: search for unit files in /lib/systemd/system only on split /usr systems --- src/path-lookup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/path-lookup.c b/src/path-lookup.c index 5f5ad8c9..93fdf636 100644 --- a/src/path-lookup.c +++ b/src/path-lookup.c @@ -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; } -- 2.39.5