mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-29 14:40:25 +00:00
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();
|
||||
|
||||
/* 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
|
||||
|
Loading…
Reference in New Issue
Block a user