From c2bf7cc4ae136d150696f4ae63a124c4fb4bac6a Mon Sep 17 00:00:00 2001 From: Neshura Date: Wed, 10 Apr 2024 23:29:43 +0200 Subject: [PATCH] Only Output "Using domains.toml" when config contains any redirects --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index e49c427..b1b1ec3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -170,9 +170,9 @@ impl Config { error!(e); } }; + let msg = format!("Using {config_path}/domains.toml"); + info!(msg); } - let msg = format!("Using {config_path}/domains.toml"); - info!(msg); (data, Some(config_path)) }, Err(e) => {