Skip to content

Commit

Permalink
Process not found should not return ok
Browse files Browse the repository at this point in the history
  • Loading branch information
jokemanfire committed Sep 12, 2024
1 parent 0911c1c commit 1a358b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/runc-shim/src/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ where
let process = self.get_mut_process(exec_id_opt);
match process {
Ok(p) => p.delete().await?,
Err(Error::NotFoundError(_)) => return Ok((pid, code, exited_at)),
Err(e) => return Err(e),
}
if let Some(exec_id) = exec_id_opt {
Expand Down

0 comments on commit 1a358b7

Please sign in to comment.