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