mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Don't deliver signals to zombies.
This commit is contained in:
parent
32a1be0008
commit
356ae79f64
1 changed files with 2 additions and 0 deletions
|
@ -737,6 +737,8 @@ namespace Sortix
|
|||
continue;
|
||||
if ( process->pid <= 1 )
|
||||
continue;
|
||||
if ( process->iszombie )
|
||||
continue;
|
||||
return i;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue