From a0ec7918f3da09156c3897fa63518e16af11081a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 26 Nov 2007 07:17:52 +0000 Subject: apply accumulated post-1.6.1 patches, and bump version to 1.6.2 --- init/init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init') diff --git a/init/init.c b/init/init.c index cb83b08..e3b5dc0 100644 --- a/init/init.c +++ b/init/init.c @@ -277,6 +277,9 @@ static void console_init(void) while (fd > 2) close(fd--); } messageD(L_LOG, "console='%s'", s); + } else { + /* Make sure fd 0,1,2 are not closed */ + bb_sanitize_stdio(); } s = getenv("TERM"); -- cgit v1.1