diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-04 06:47:33 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-04 06:47:33 +0000 |
commit | b49da2437267cc0da600a218565efce3351e2062 (patch) | |
tree | bdc03ef4f275ec40dd6d40bcbced666e49cfc469 /init | |
parent | 95fddf380390d9e21f0e6f0e5754ac1208ecdac6 (diff) | |
download | busybox-w32-b49da2437267cc0da600a218565efce3351e2062.tar.gz busybox-w32-b49da2437267cc0da600a218565efce3351e2062.tar.bz2 busybox-w32-b49da2437267cc0da600a218565efce3351e2062.zip |
Patch from Vladimir to make sure PATH is set correctly.
git-svn-id: svn://busybox.net/trunk/busybox@1963 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index 0620e1ea1..52ee6777a 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -886,7 +886,7 @@ extern int init_main(int argc, char **argv) | |||
886 | setsid(); | 886 | setsid(); |
887 | 887 | ||
888 | /* Make sure PATH is set to something sane */ | 888 | /* Make sure PATH is set to something sane */ |
889 | putenv(_PATH_STDPATH); | 889 | putenv("PATH="_PATH_STDPATH); |
890 | 890 | ||
891 | /* Hello world */ | 891 | /* Hello world */ |
892 | #ifndef DEBUG_INIT | 892 | #ifndef DEBUG_INIT |