diff --git a/alacritty/src/main.rs b/alacritty/src/main.rs index 64e0b9c..db08245 100644 --- a/alacritty/src/main.rs +++ b/alacritty/src/main.rs @@ -128,9 +128,11 @@ fn main() { /// config change monitor, and runs the main display loop. fn run(window_event_loop: GlutinEventLoop, config: Config) -> Result<(), Box> { info!("Welcome to Alacritty"); - if let Some(config_path) = &config.config_path { - info!("Configuration loaded from \"{}\"", config_path.display()); - }; + + match &config.config_path { + Some(config_path) => info!("Configuration loaded from \"{}\"", config_path.display()), + None => info!("No configuration file found"), + } // Set environment variables tty::setup_env(&config);