Patch from Vladimir to make sure PATH is set correctly.
This commit is contained in:
2
init.c
2
init.c
@@ -886,7 +886,7 @@ extern int init_main(int argc, char **argv)
|
||||
setsid();
|
||||
|
||||
/* Make sure PATH is set to something sane */
|
||||
putenv(_PATH_STDPATH);
|
||||
putenv("PATH="_PATH_STDPATH);
|
||||
|
||||
/* Hello world */
|
||||
#ifndef DEBUG_INIT
|
||||
|
@@ -886,7 +886,7 @@ extern int init_main(int argc, char **argv)
|
||||
setsid();
|
||||
|
||||
/* Make sure PATH is set to something sane */
|
||||
putenv(_PATH_STDPATH);
|
||||
putenv("PATH="_PATH_STDPATH);
|
||||
|
||||
/* Hello world */
|
||||
#ifndef DEBUG_INIT
|
||||
|
Reference in New Issue
Block a user