diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-26 07:17:52 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-26 07:17:52 +0000 |
commit | a0ec7918f3da09156c3897fa63518e16af11081a (patch) | |
tree | 9b718211f1dcd71ac51ea95e1a541694f348935b /init | |
parent | 52c886144fd0491fd3b60f04a9f144cac6c12de4 (diff) | |
download | busybox-w32-1_6_2.tar.gz busybox-w32-1_6_2.tar.bz2 busybox-w32-1_6_2.zip |
apply accumulated post-1.6.1 patches, and bump version to 1.6.21_6_2
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c index cb83b088d..e3b5dc092 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -277,6 +277,9 @@ static void console_init(void) | |||
277 | while (fd > 2) close(fd--); | 277 | while (fd > 2) close(fd--); |
278 | } | 278 | } |
279 | messageD(L_LOG, "console='%s'", s); | 279 | messageD(L_LOG, "console='%s'", s); |
280 | } else { | ||
281 | /* Make sure fd 0,1,2 are not closed */ | ||
282 | bb_sanitize_stdio(); | ||
280 | } | 283 | } |
281 | 284 | ||
282 | s = getenv("TERM"); | 285 | s = getenv("TERM"); |