Commit cde0a9c8 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Correct init process, allow waiting on any children, reap zombies in init

parent 665eaa52
......@@ -89,4 +89,9 @@ pub fn main() {
if let Err(err) = run("initfs:etc/init.rc") {
println!("init: failed to run initfs:etc/init.rc: {}", err);
loop {
let mut status = 0;
syscall::waitpid(0, &mut status, 0).unwrap();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment