chiark / gitweb /
manager: get rid of destinction between running_as=system and running_as=init, as...
[elogind.git] / src / path-lookup.c
index 093e04de37d02d61566cb0b44be3379d0c440da5..4160d5586272d44eee3bcb85d693533b8ed1eca9 100644 (file)
@@ -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")))