summaryrefslogtreecommitdiff
path: root/user/init.c
diff options
context:
space:
mode:
back-port fork/exit/exit tests to xv6-riscv
Diffstat (limited to 'user/init.c')
-rw-r--r--user/init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/init.c b/user/init.c
index f36ba31..03e60da 100644
--- a/user/init.c
+++ b/user/init.c
@@ -31,7 +31,8 @@ main(void)
printf(1, "init: exec sh failed\n");
exit();
}
- while((wpid=wait()) >= 0 && wpid != pid)
- printf(1, "zombie!\n");
+ while((wpid=wait()) >= 0 && wpid != pid){
+ //printf(1, "zombie!\n");
+ }
}
}