diff --git a/src/agent/rustjail/src/container.rs b/src/agent/rustjail/src/container.rs index 8e6e8d8d9e..2cd270668a 100644 --- a/src/agent/rustjail/src/container.rs +++ b/src/agent/rustjail/src/container.rs @@ -654,7 +654,7 @@ fn do_init_child(cwfd: RawFd) -> Result<()> { let exec_file = Path::new(&args[0]); log_child!(cfd_log, "process command: {:?}", &args); if !exec_file.exists() { - find_file(exec_file).ok_or_else(|| anyhow!("the file {} is not exist", &args[0]))?; + find_file(exec_file).ok_or_else(|| anyhow!("the file {} was not found", &args[0]))?; } // notify parent that the child's ready to start