summaryrefslogtreecommitdiff
path: root/core/systemd/use-split-usr-path.patch
blob: 2fd32998db9c91f8043162716fbb79b7e48264c8 (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
@@ -1455,11 +1455,7 @@
 
         /* 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) {