watch for zombies
This commit is contained in:
parent
e204d0a151
commit
ed960d2c19
1 changed files with 1 additions and 1 deletions
2
init.c
2
init.c
|
@ -33,6 +33,6 @@ main(void)
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
while((wpid=wait()) >= 0 && wpid != pid)
|
while((wpid=wait()) >= 0 && wpid != pid)
|
||||||
;
|
puts("zombie!\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue