chiark / gitweb /
conf-parser: warn if an assignment is place outside of a section
[elogind.git] / src / path-lookup.c
index 5f5ad8c9f59c3b2079f0f793e241797650c369ea..93fdf6369915562db56264aae038a8452304459d 100644 (file)
@@ -230,7 +230,9 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as, bool personal
                                               "/usr/local/lib/systemd/system",
                                               "/usr/lib/systemd/system",
                                               SYSTEM_DATA_UNIT_PATH,
+#ifdef HAVE_SPLIT_USR
                                               "/lib/systemd/system",
+#endif
                                               NULL)))
                                 return -ENOMEM;
         }