Patch from Vladimir to make sure PATH is set correctly.
diff --git a/init.c b/init.c
index 0620e1e..52ee677 100644
--- a/init.c
+++ b/init.c
@@ -886,7 +886,7 @@
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 0620e1e..52ee677 100644
--- a/init/init.c
+++ b/init/init.c
@@ -886,7 +886,7 @@
setsid();
/* Make sure PATH is set to something sane */
- putenv(_PATH_STDPATH);
+ putenv("PATH="_PATH_STDPATH);
/* Hello world */
#ifndef DEBUG_INIT