From 452fd33ffa0bc1abc48e1f220b3b3b6e3649c37e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 4 Mar 2001 06:47:33 +0000 Subject: [PATCH] Patch from Vladimir to make sure PATH is set correctly. --- init.c | 2 +- init/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/init.c b/init.c index 0620e1ea1..52ee6777a 100644 --- a/init.c +++ b/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 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 -- 2.25.1