chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e764a
)
path-lookup: search for unit files in /lib/systemd/system only on split /usr systems
author
Lennart Poettering
<lennart@poettering.net>
Mon, 13 Feb 2012 23:24:49 +0000
(
00:24
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 13 Feb 2012 23:24:49 +0000
(
00:24
+0100)
src/path-lookup.c
patch
|
blob
|
history
diff --git
a/src/path-lookup.c
b/src/path-lookup.c
index 5f5ad8c9f59c3b2079f0f793e241797650c369ea..93fdf6369915562db56264aae038a8452304459d 100644
(file)
--- 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;
}