chiark / gitweb /
path-lookup: rearrange things so that the system path order follows the user path...
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Mar 2012 13:31:50 +0000 (14:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 14 Mar 2012 13:31:50 +0000 (14:31 +0100)
src/path-lookup.c

index e6f050d4ff65820d18e38e2ced46114ddc0244a2..5464cedbbd04657bb2cefd9dc3dc30623d57376d 100644 (file)
@@ -228,8 +228,8 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as, bool personal
                                               "/etc/systemd/system",
                                               "/run/systemd/system",
                                               "/usr/local/lib/systemd/system",
-                                              "/usr/lib/systemd/system",
                                               SYSTEM_DATA_UNIT_PATH,
+                                              "/usr/lib/systemd/system",
 #ifdef HAVE_SPLIT_USR
                                               "/lib/systemd/system",
 #endif