diff --git a/src/bin/cmd/server.rs b/src/bin/cmd/server.rs index d14d4ba4..7f9c325d 100644 --- a/src/bin/cmd/server.rs +++ b/src/bin/cmd/server.rs @@ -45,7 +45,7 @@ fn start_server(config: servers::ServerConfig) { fn start_server_tui(config: servers::ServerConfig) { // Run the UI controller.. here for now for simplicity to access // everything it might need - if config.run_tui.is_some() && config.run_tui.unwrap() { + if config.run_tui.unwrap_or(false) { warn!("Starting GRIN in UI mode..."); servers::Server::start(config, |serv: Arc| { let running = Arc::new(AtomicBool::new(true));