summaryrefslogtreecommitdiff
path: root/core/systemd/use-split-usr-path.patch
blob: 40dd62f903417c9f10e11abf080ac3056bd2de55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/core/main.c	2012-09-20 23:02:54.000000000 -0400
+++ b/src/core/main.c	2012-09-20 23:03:13.000000000 -0400
@@ -1487,11 +1487,7 @@ int main(int argc, char *argv[]) {
 
         /* Set up PATH unless it is already set */
         setenv("PATH",
-#ifdef HAVE_SPLIT_USR
                "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
-#else
-               "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin",
-#endif
                arg_running_as == SYSTEMD_SYSTEM);
 
         if (arg_running_as == SYSTEMD_SYSTEM) {