Skip to content

Commit

Permalink
Make it unique by returning the pid in the start function
Browse files Browse the repository at this point in the history
Signed-off-by: utam0k <[email protected]>
  • Loading branch information
utam0k committed Apr 6, 2023
1 parent 599c3e7 commit 7edd970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/containerd-shim-wasmedge/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ impl Instance for Wasi {
cvar.notify_all();
});

Ok(0)
Ok(pid.as_raw() as u32)
}

fn kill(&self, signal: u32) -> Result<(), Error> {
Expand Down

0 comments on commit 7edd970

Please sign in to comment.