diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-19 03:15:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-19 03:15:59 +0200 |
commit | a3d4e06dfa234bf2a9398c8e534b705b68aa50a1 (patch) | |
tree | 41d9a99c9827fa9fac302c15c382ae6dc941a40c /src/unit.c | |
parent | 5e8d1c9a9f15b7453474dc4879bdb4021c3f50a1 (diff) |
manager: get rid of destinction between running_as=system and running_as=init, as there is little value in it and we cannot really test this
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c index c12c2a7deb..c546035ca1 100644 --- a/src/unit.c +++ b/src/unit.c @@ -542,7 +542,7 @@ int unit_add_exec_dependencies(Unit *u, ExecContext *c) { if ((r = unit_add_dependency_by_name(u, UNIT_AFTER, SPECIAL_LOGGER_SOCKET, NULL, true)) < 0) return r; - if (u->meta.manager->running_as != MANAGER_SESSION) + if (u->meta.manager->running_as == MANAGER_SYSTEM) if ((r = unit_add_dependency_by_name(u, UNIT_REQUIRES, SPECIAL_LOGGER_SOCKET, NULL, true)) < 0) return r; |