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;
|
continue;
|
||||||
if ( process->pid <= 1 )
|
if ( process->pid <= 1 )
|
||||||
continue;
|
continue;
|
||||||
|
if ( process->iszombie )
|
||||||
|
continue;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue