Skip to content

Commit

Permalink
Revert "fix exit code"
Browse files Browse the repository at this point in the history
This reverts commit 72d00cd.
fix #36
  • Loading branch information
LuckyTurtleDev committed Dec 6, 2024
1 parent 72d00cd commit 9b27b7c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!");
Expand Down

0 comments on commit 9b27b7c

Please sign in to comment.