From b49da2437267cc0da600a218565efce3351e2062 Mon Sep 17 00:00:00 2001 From: andersen Date: Sun, 4 Mar 2001 06:47:33 +0000 Subject: Patch from Vladimir to make sure PATH is set correctly. git-svn-id: svn://busybox.net/trunk/busybox@1963 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- init/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init') 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) setsid(); /* Make sure PATH is set to something sane */ - putenv(_PATH_STDPATH); + putenv("PATH="_PATH_STDPATH); /* Hello world */ #ifndef DEBUG_INIT -- cgit v1.2.3-55-g6feb