Browse Source

cli: correct docker message (#1243)

Leofis G 3 years ago
parent
commit
e2b928161e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cli/src/lib.rs

+ 2 - 2
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()])?;
     docker_exec(container_name, &["rm", "-rf", target_dir.to_str().unwrap()])?;
 
 
     // Remove the docker image.
     // Remove the docker image.
-    println!("Removing the docker image");
+    println!("Removing the docker container");
     let exit = std::process::Command::new("docker")
     let exit = std::process::Command::new("docker")
         .args(&["rm", "-f", container_name])
         .args(&["rm", "-f", container_name])
         .stdout(Stdio::inherit())
         .stdout(Stdio::inherit())
@@ -1097,7 +1097,7 @@ fn docker_cleanup(container_name: &str, target_dir: &Path) -> Result<()> {
         .output()
         .output()
         .map_err(|e| anyhow::format_err!("{}", e.to_string()))?;
         .map_err(|e| anyhow::format_err!("{}", e.to_string()))?;
     if !exit.status.success() {
     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));
         std::process::exit(exit.status.code().unwrap_or(1));
     }
     }
     Ok(())
     Ok(())