chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
units: set HOME=/root when running shells
[elogind.git]
/
src
/
path-lookup.c
diff --git
a/src/path-lookup.c
b/src/path-lookup.c
index 2590eb3abfc8aeed823c8f34ec3fe6bb2abc152c..28336ebf150bda755e8f0344aae3429d3af10fd6 100644
(file)
--- a/
src/path-lookup.c
+++ b/
src/path-lookup.c
@@
-1,4
+1,4
@@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8
; indent-tabs-mode: nil
-*-*/
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-181,10
+181,12
@@
int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
return -ENOMEM;
} else
if (!(p->unit_path = strv_new(
return -ENOMEM;
} else
if (!(p->unit_path = strv_new(
- SYSTEM_CONFIG_UNIT_PATH, /* /etc/systemd/system/ */
+ SYSTEM_CONFIG_UNIT_PATH,
+ "/etc/systemd/system",
"/usr/local/share/systemd/system",
"/usr/share/systemd/system",
"/usr/local/share/systemd/system",
"/usr/share/systemd/system",
- SYSTEM_DATA_UNIT_PATH, /* /lib/systemd/system/ */
+ "/lib/systemd/system",
+ SYSTEM_DATA_UNIT_PATH,
NULL)))
return -ENOMEM;
}
NULL)))
return -ENOMEM;
}