summaryrefslogtreecommitdiff
path: root/src/path-lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/path-lookup.c')
-rw-r--r--src/path-lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path-lookup.c b/src/path-lookup.c
index 093e04de37..4160d55862 100644
--- a/src/path-lookup.c
+++ b/src/path-lookup.c
@@ -187,7 +187,7 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
return -ENOMEM;
}
- if (running_as == MANAGER_INIT) {
+ if (running_as == MANAGER_SYSTEM) {
/* /etc/init.d/ compatibility does not matter to users */
if ((e = getenv("SYSTEMD_SYSVINIT_PATH")))