Patch from Vladimir to make sure PATH is set correctly.
This commit is contained in:
1 parent
076cdc24fc
commit
452fd33ffa
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
+1
-1
@@ -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