mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 03:32:18 +00:00
Silly me
This commit is contained in:
parent
4e19fa9b64
commit
87812dc3b0
@ -1160,7 +1160,7 @@ extern int init_main(int argc, char **argv)
|
||||
|
||||
/* Wait for a child process to exit */
|
||||
wpid = wait(&status);
|
||||
while (init_action_list && wpid > 0) {
|
||||
while (wpid > 0) {
|
||||
/* Find out who died and clean up their corpse */
|
||||
for (a = init_action_list; a; a = a->next) {
|
||||
if (a->pid == wpid) {
|
||||
|
Loading…
Reference in New Issue
Block a user