summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/install.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index 40b137e437..718ec52769 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -1686,7 +1686,9 @@ int unit_file_query_preset(UnitFileScope scope, const char *name) {
"/etc/systemd/system.preset",
"/usr/local/lib/systemd/system.preset",
"/usr/lib/systemd/system.preset",
+#ifdef HAVE_SPLIT_USR
"/lib/systemd/system.preset",
+#endif
NULL);
else if (scope == UNIT_FILE_GLOBAL)
r = conf_files_list(&files, ".preset",