]> err.no Git - systemd/commitdiff
systemd: include /etc/systemd/system/ and /lib/systemd/system/ in search path uncondi...
authorLennart Poettering <lennart@poettering.net>
Thu, 1 Jul 2010 18:43:52 +0000 (20:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 1 Jul 2010 18:43:52 +0000 (20:43 +0200)
src/path-lookup.c

index 2590eb3abfc8aeed823c8f34ec3fe6bb2abc152c..00003620a57a88e2e604625682bdf96e44dffa60 100644 (file)
@@ -181,10 +181,12 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
                                 return -ENOMEM;
                 } else
                         if (!(p->unit_path = strv_new(
-                                              SYSTEM_CONFIG_UNIT_PATH,  /* /etc/systemd/system/ */
+                                              SYSTEM_CONFIG_UNIT_PATH,
+                                              "/etc/systemd/system",
                                               "/usr/local/share/systemd/system",
                                               "/usr/share/systemd/system",
-                                              SYSTEM_DATA_UNIT_PATH,    /* /lib/systemd/system/ */
+                                              "/lib/systemd/system",
+                                              SYSTEM_DATA_UNIT_PATH,
                                               NULL)))
                                 return -ENOMEM;
         }