From f8dc27f144ab8b63cb9c8bdceacf9a0faf849743 Mon Sep 17 00:00:00 2001 From: Yashodhan Joshi Date: Fri, 16 Sep 2022 15:24:04 +0530 Subject: [PATCH] Fix clippy lint --- .../libcontainer/src/process/container_intermediate_process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/libcontainer/src/process/container_intermediate_process.rs b/crates/libcontainer/src/process/container_intermediate_process.rs index 2a1203109..565de7ee2 100644 --- a/crates/libcontainer/src/process/container_intermediate_process.rs +++ b/crates/libcontainer/src/process/container_intermediate_process.rs @@ -116,7 +116,7 @@ pub fn container_intermediate_process( .close() .context("failed to close unused init sender")?; - return Ok(pid); + Ok(pid) } fn apply_cgroups(