chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemadm: use color for dependency links
[elogind.git]
/
src
/
path-lookup.c
diff --git
a/src/path-lookup.c
b/src/path-lookup.c
index e1925f1a4d54e4fb5ca328c6bf7e1cbd5170f77a..5f5ad8c9f59c3b2079f0f793e241797650c369ea 100644
(file)
--- a/
src/path-lookup.c
+++ b/
src/path-lookup.c
@@
-56,7
+56,8
@@
static char** user_dirs(void) {
const char * const config_unit_paths[] = {
"/run/systemd/user",
USER_CONFIG_UNIT_PATH,
const char * const config_unit_paths[] = {
"/run/systemd/user",
USER_CONFIG_UNIT_PATH,
- "/etc/systemd/user"
+ "/etc/systemd/user",
+ NULL
};
const char * const data_unit_paths[] = {
};
const char * const data_unit_paths[] = {
@@
-64,7
+65,8
@@
static char** user_dirs(void) {
"/usr/local/share/systemd/user",
USER_DATA_UNIT_PATH,
"/usr/lib/systemd/user",
"/usr/local/share/systemd/user",
USER_DATA_UNIT_PATH,
"/usr/lib/systemd/user",
- "/usr/share/systemd/user"
+ "/usr/share/systemd/user",
+ NULL
};
const char *home, *e;
};
const char *home, *e;
@@
-207,7
+209,7
@@
int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as, bool personal
* the arrays in user_dirs() above! */
"/run/systemd/user",
USER_CONFIG_UNIT_PATH,
* the arrays in user_dirs() above! */
"/run/systemd/user",
USER_CONFIG_UNIT_PATH,
- "/etc/systemd/
system
",
+ "/etc/systemd/
user
",
"/usr/local/lib/systemd/user",
"/usr/local/share/systemd/user",
USER_DATA_UNIT_PATH,
"/usr/local/lib/systemd/user",
"/usr/local/share/systemd/user",
USER_DATA_UNIT_PATH,