summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/path-lookup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/path-lookup.c b/src/path-lookup.c
index 5f5ad8c9f5..93fdf63699 100644
--- a/src/path-lookup.c
+++ b/src/path-lookup.c
@@ -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;
}