From 3c15a90886cfdd4fecd9fe3be3d3af9fa6337a3c Mon Sep 17 00:00:00 2001 From: Chip Senkbeil Date: Sat, 18 Sep 2021 21:25:24 -0500 Subject: [PATCH] Fix log suppression to occur when running remote process and not logging to a file --- Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- core/Cargo.toml | 2 +- src/lib.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6aec2d45..57e824ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -216,7 +216,7 @@ checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" [[package]] name = "distant" -version = "0.15.0" +version = "0.14.1" dependencies = [ "assert_cmd", "assert_fs", @@ -239,7 +239,7 @@ dependencies = [ [[package]] name = "distant-core" -version = "0.15.0" +version = "0.14.1" dependencies = [ "assert_fs", "bytes", diff --git a/Cargo.toml b/Cargo.toml index a2d4d212..a9bdac94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "distant" description = "Operate on a remote computer through file and process manipulation" categories = ["command-line-utilities"] keywords = ["cli"] -version = "0.15.0" +version = "0.14.1" authors = ["Chip Senkbeil "] edition = "2018" homepage = "https://github.com/chipsenkbeil/distant" @@ -21,7 +21,7 @@ codegen-units = 1 [dependencies] derive_more = { version = "0.99.16", default-features = false, features = ["display", "from", "error", "is_variant"] } -distant-core = { version = "=0.15.0", path = "core", features = ["structopt"] } +distant-core = { version = "=0.14.1", path = "core", features = ["structopt"] } flexi_logger = "0.18.0" fork = "0.1.18" lazy_static = "1.4.0" diff --git a/core/Cargo.toml b/core/Cargo.toml index d0e503c3..c2e6d65e 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -2,7 +2,7 @@ name = "distant-core" description = "Core library for distant, enabling operation on a remote computer through file and process manipulation" categories = ["network-programming"] -version = "0.15.0" +version = "0.14.1" authors = ["Chip Senkbeil "] edition = "2018" homepage = "https://github.com/chipsenkbeil/distant" diff --git a/src/lib.rs b/src/lib.rs index a546d135..a1b108c4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -48,7 +48,7 @@ fn init_logging(opt: &opt::CommonOpt, is_remote_process: bool) -> flexi_logger:: // Without this, CI tests can sporadically fail when getting the exit code of a // process because an error log is provided about failing to broadcast a response // on the client side - if opt.quiet || (is_remote_process && opt.log_file.is_some()) { + if opt.quiet || (is_remote_process && opt.log_file.is_none()) { builder.module(module, LevelFilter::Off); } }