From 32bb63f36073f3933e02fe8ef890bc4b672cb32f Mon Sep 17 00:00:00 2001 From: Red Bear OS Date: Wed, 15 Jul 2026 23:57:22 +0900 Subject: [PATCH] revert TEMP DIAG: re-enable switch_stdio to /scheme/log --- init/src/main.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/init/src/main.rs b/init/src/main.rs index 08b8662d64..98e778bceb 100644 --- a/init/src/main.rs +++ b/init/src/main.rs @@ -119,13 +119,8 @@ fn main() { scheduler .schedule_start_and_report_errors(&mut unit_store, UnitId("00_logd.service".to_owned())); scheduler.step(&mut unit_store, &mut init_config); - // DIAGNOSTIC (temporary): keep init/daemon stdio on the kernel console - // so the full boot is visible on serial for headless debugging, instead - // of being redirected into /scheme/log (only mirrored racily to serial). - if false { - if let Err(err) = switch_stdio("/scheme/log") { - init_error(&format!("failed to switch stdio to '/scheme/log': {}", err)); - } + if let Err(err) = switch_stdio("/scheme/log") { + init_error(&format!("failed to switch stdio to '/scheme/log': {}", err)); } let runtime_target = UnitId("00_runtime.target".to_owned());