remove config log

This commit is contained in:
wyhaya
2019-10-15 13:54:41 +08:00
parent 060da0cd5d
commit f57634862a
3 changed files with 3 additions and 7 deletions

View File

@@ -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
);