[systemd-commits] src/path-lookup.c
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Feb 13 15:25:09 PST 2012
src/path-lookup.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 283b73b3bb98ec8aab3ccc452e211f43a2dcf0df
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 14 00:24:49 2012 +0100
path-lookup: search for unit files in /lib/systemd/system only on split /usr systems
diff --git a/src/path-lookup.c b/src/path-lookup.c
index 5f5ad8c..93fdf63 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;
}
More information about the systemd-commits
mailing list