Don't deliver signals to zombies.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-09-08 19:15:56 +02:00
parent 32a1be0008
commit 356ae79f64
1 changed files with 2 additions and 0 deletions

View File

@ -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;