summaryrefslogtreecommitdiff
path: root/testing/systemd/use-split-usr-path.patch
blob: 057045bf159454e549aa0968c8179aa9cee657c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/core/main.c	2012-07-17 19:46:24.000000000 -0400
+++ b/src/core/main.c	2012-07-27 10:04:13.000000000 -0400
@@ -1379,11 +1379,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 == MANAGER_SYSTEM);
 
         if (arg_running_as == MANAGER_SYSTEM) {