summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-22 04:17:38 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-22 04:31:20 +0200
commitc800e483748a8bb68ed405094c265954c7e605dc (patch)
treeca2b765e04ad191c365b971f9779d7ed2a670742 /src/manager.c
parentd8eaa1144f7ea921ae9eb4bba1f6a7c1797c9435 (diff)
path-lookup: make inclusion of user private units optional
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manager.c b/src/manager.c
index 3291275d0a..c1242ae8b3 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -258,7 +258,7 @@ int manager_new(ManagerRunningAs running_as, Manager **_m) {
if ((m->epoll_fd = epoll_create1(EPOLL_CLOEXEC)) < 0)
goto fail;
- if ((r = lookup_paths_init(&m->lookup_paths, m->running_as)) < 0)
+ if ((r = lookup_paths_init(&m->lookup_paths, m->running_as, true)) < 0)
goto fail;
if ((r = manager_setup_signals(m)) < 0)
@@ -2822,7 +2822,7 @@ int manager_reload(Manager *m) {
/* Find new unit paths */
lookup_paths_free(&m->lookup_paths);
- if ((q = lookup_paths_init(&m->lookup_paths, m->running_as)) < 0)
+ if ((q = lookup_paths_init(&m->lookup_paths, m->running_as, true)) < 0)
r = q;
manager_run_generators(m);