diff --git a/user/src/bin/initproc.rs b/user/src/bin/initproc.rs index 99563f47..a9b8048a 100644 --- a/user/src/bin/initproc.rs +++ b/user/src/bin/initproc.rs @@ -23,12 +23,14 @@ fn main() -> i32 { yield_(); continue; } + /* println!( "[initproc] Released a zombie process, pid={}, exit_code={}", pid, exit_code, ); + */ } } 0 -} \ No newline at end of file +} diff --git a/user/src/bin/user_shell.rs b/user/src/bin/user_shell.rs index f7cefc12..09c6ea8b 100644 --- a/user/src/bin/user_shell.rs +++ b/user/src/bin/user_shell.rs @@ -196,7 +196,7 @@ pub fn main() -> i32 { for pid in children.into_iter() { let exit_pid = waitpid(pid as usize, &mut exit_code); assert_eq!(pid, exit_pid); - println!("Shell: Process {} exited with code {}", pid, exit_code); + //println!("Shell: Process {} exited with code {}", pid, exit_code); } } line.clear();