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]]
|
[[package]]
|
||||||
name = "updns"
|
name = "updns"
|
||||||
version = "0.0.5"
|
version = "0.0.6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ace 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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)",
|
"async-std 0.99.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "updns"
|
name = "updns"
|
||||||
version = "0.0.5"
|
version = "0.0.6"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
authors = ["wyhaya <wyhaya@gmail.com>"]
|
authors = ["wyhaya <wyhaya@gmail.com>"]
|
||||||
|
|||||||
@@ -154,14 +154,10 @@ fn main() {
|
|||||||
let cmd = Command::new(CONFIG_COMMAND).arg(&config_path).status();
|
let cmd = Command::new(CONFIG_COMMAND).arg(&config_path).status();
|
||||||
match cmd {
|
match cmd {
|
||||||
Ok(status) => {
|
Ok(status) => {
|
||||||
warn!(
|
|
||||||
"'{}' exits with a non-zero status code: {:?}",
|
|
||||||
CONFIG_COMMAND, status
|
|
||||||
);
|
|
||||||
if status.success() {
|
if status.success() {
|
||||||
config_parse(&config_path);
|
config_parse(&config_path);
|
||||||
} else {
|
} else {
|
||||||
warn!(
|
println!(
|
||||||
"'{}' exits with a non-zero status code: {:?}",
|
"'{}' exits with a non-zero status code: {:?}",
|
||||||
CONFIG_COMMAND, status
|
CONFIG_COMMAND, status
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user