From f57634862aa0141d860d4560c574ce9087e72f07 Mon Sep 17 00:00:00 2001 From: wyhaya Date: Tue, 15 Oct 2019 13:54:41 +0800 Subject: [PATCH] remove config log --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7ee3832..127ed36 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -563,7 +563,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "updns" -version = "0.0.5" +version = "0.0.6" dependencies = [ "ace 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "async-std 0.99.9 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 536a3fa..b82ddc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "updns" -version = "0.0.5" +version = "0.0.6" edition = "2018" authors = ["wyhaya "] diff --git a/src/main.rs b/src/main.rs index 9f75aa7..d88aaf2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -154,14 +154,10 @@ fn main() { let cmd = Command::new(CONFIG_COMMAND).arg(&config_path).status(); match cmd { Ok(status) => { - warn!( - "'{}' exits with a non-zero status code: {:?}", - CONFIG_COMMAND, status - ); if status.success() { config_parse(&config_path); } else { - warn!( + println!( "'{}' exits with a non-zero status code: {:?}", CONFIG_COMMAND, status );