aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index 686abc81..d16db5f2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -74,12 +74,6 @@ fn main() {
.with_env_filter(env_filter)
.init();
- info!(
- "starting version {} ({})",
- env!("CARGO_PKG_VERSION"),
- git_version!(fallback = "unknown commit"),
- );
-
if is_systemd_service {
// If we're starting as a systemd service, assume that the intention is to start on a TTY.
// Remove DISPLAY or WAYLAND_DISPLAY from our environment if they are set, since they will
@@ -98,6 +92,12 @@ fn main() {
let _client = tracy_client::Client::start();
+ info!(
+ "starting version {} ({})",
+ env!("CARGO_PKG_VERSION"),
+ git_version!(fallback = "unknown commit"),
+ );
+
// Load the config.
miette::set_hook(Box::new(|_| Box::new(NarratableReportHandler::new()))).unwrap();
let (mut config, path) = match Config::load(cli.config).context("error loading config") {