From: Lennart Poettering Date: Mon, 13 Feb 2012 23:24:49 +0000 (+0100) Subject: path-lookup: search for unit files in /lib/systemd/system only on split /usr systems X-Git-Tag: v43~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=283b73b3bb98ec8aab3ccc452e211f43a2dcf0df;p=systemd path-lookup: search for unit files in /lib/systemd/system only on split /usr systems --- diff --git a/src/path-lookup.c b/src/path-lookup.c index 5f5ad8c9..93fdf636 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; }