remove config log
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -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)",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "updns"
|
||||
version = "0.0.5"
|
||||
version = "0.0.6"
|
||||
edition = "2018"
|
||||
|
||||
authors = ["wyhaya <wyhaya@gmail.com>"]
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user