mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
16 lines
549 B
Diff
16 lines
549 B
Diff
--- 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) {
|
|
|