X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fpath-lookup.c;h=291a2f4054e1a084242f3ba1d053eecd35f31542;hb=2404701e679904979751816930101511d8ec5d49;hp=1e5bb858e852d0325ff30089dc285601e9f68fd0;hpb=e801700e9acdde60078eb1d41b41b06369b83541;p=elogind.git diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c index 1e5bb858e..291a2f405 100644 --- a/src/shared/path-lookup.c +++ b/src/shared/path-lookup.c @@ -222,14 +222,14 @@ static char** user_dirs( char **generator_paths(SystemdRunningAs running_as) { if (running_as == SYSTEMD_USER) - return strv_new("/etc/systemd/user-generators", - "/run/systemd/user-generators", + return strv_new("/run/systemd/user-generators", + "/etc/systemd/user-generators", "/usr/local/lib/systemd/user-generators", USER_GENERATOR_PATH, NULL); else - return strv_new("/etc/systemd/system-generators", - "/run/systemd/system-generators", + return strv_new("/run/systemd/system-generators", + "/etc/systemd/system-generators", "/usr/local/lib/systemd/system-generators", SYSTEM_GENERATOR_PATH, NULL);