Patch from Vladimir to make sure PATH is set correctly.

This commit is contained in:
Eric Andersen 2001-03-04 06:47:33 +00:00
parent 076cdc24fc
commit 452fd33ffa
2 changed files with 2 additions and 2 deletions

2
init.c
View File

@ -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

View File

@ -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