From 9b27b7cbd840e29802a47512389eeb59e9312344 Mon Sep 17 00:00:00 2001 From: luckyturtledev Date: Fri, 6 Dec 2024 16:49:59 +0100 Subject: [PATCH] Revert "fix exit code" This reverts commit 72d00cdd1a50d176f550aebae4eeb1d23ed3687d. fix #36 --- src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3a38b77..0bb016e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -533,10 +533,7 @@ fn main() { match cli.command { Some(command) => match command { - Commands::ValidateConfig => { - info!("Config is valid"); - std::process::exit(1); - }, + Commands::ValidateConfig => info!("Config is valid"), Commands::ValidateLists => { if !async_validate_lists(config) { error!("Config validation failed!");