diff --git a/src/syscall/process.rs b/src/syscall/process.rs index f8bc6c3..d2c9a3a 100644 --- a/src/syscall/process.rs +++ b/src/syscall/process.rs @@ -897,7 +897,7 @@ pub fn kill(pid: ContextId, sig: usize) -> Result { fn reap(pid: ContextId) -> Result { // Spin until not running - let mut running = false; + let mut running = true; while running { { let contexts = context::contexts();