X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fpath-lookup.c;h=4160d5586272d44eee3bcb85d693533b8ed1eca9;hb=a3d4e06dfa234bf2a9398c8e534b705b68aa50a1;hp=093e04de37d02d61566cb0b44be3379d0c440da5;hpb=5e8d1c9a9f15b7453474dc4879bdb4021c3f50a1;p=elogind.git diff --git a/src/path-lookup.c b/src/path-lookup.c index 093e04de3..4160d5586 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")))