From e2b928161e92e0bf49d97e84e2f87540b79dbe1b Mon Sep 17 00:00:00 2001 From: Leofis G Date: Sat, 8 Jan 2022 00:00:57 +0800 Subject: [PATCH] cli: correct docker message (#1243) --- cli/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/lib.rs b/cli/src/lib.rs index 19d8a275..05d3e6fc 100644 --- a/cli/src/lib.rs +++ b/cli/src/lib.rs @@ -1089,7 +1089,7 @@ fn docker_cleanup(container_name: &str, target_dir: &Path) -> Result<()> { docker_exec(container_name, &["rm", "-rf", target_dir.to_str().unwrap()])?; // Remove the docker image. - println!("Removing the docker image"); + println!("Removing the docker container"); let exit = std::process::Command::new("docker") .args(&["rm", "-f", container_name]) .stdout(Stdio::inherit()) @@ -1097,7 +1097,7 @@ fn docker_cleanup(container_name: &str, target_dir: &Path) -> Result<()> { .output() .map_err(|e| anyhow::format_err!("{}", e.to_string()))?; if !exit.status.success() { - println!("Unable to remove docker container"); + println!("Unable to remove the docker container"); std::process::exit(exit.status.code().unwrap_or(1)); } Ok(())