summaryrefslogtreecommitdiff
path: root/runtime/ops/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/process.rs')
-rw-r--r--runtime/ops/process.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs
index 0f0cc6e2a..44ead73da 100644
--- a/runtime/ops/process.rs
+++ b/runtime/ops/process.rs
@@ -212,8 +212,7 @@ async fn op_run_status(
let resource = state
.borrow_mut()
.resource_table
- .get::<ChildResource>(rid)
- .ok_or_else(bad_resource_id)?;
+ .get::<ChildResource>(rid)?;
let mut child = resource.borrow_mut().await;
let run_status = child.wait().await?;
let code = run_status.code();