From b7316b57410ddef63d94140404aabda935258122 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 11 Jul 2025 20:05:36 -0400 Subject: [PATCH] move that config down lower --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index f69c853..1a1ebad 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,9 +26,6 @@ extern "C" fn handle_sigchld(_sig: i32) { } fn init() -> Result<()> { - let config = config::get_config()?; - dmesg(format!("{config:?}")); - if let Err(errors) = system::mount_default_targets() { for error in errors { dmesg(format!("Error while mounting: {error}")); @@ -46,6 +43,9 @@ fn init() -> Result<()> { system::dmesg("EnclaveOS Booted"); + let config = config::get_config()?; + dmesg(format!("{config:?}")); + std::thread::sleep(std::time::Duration::from_secs(500)); /*