forked from Bananymous/banan-os
Kernel: kill() with negative pid actually matches pgid
This commit is contained in:
parent
f1ba5c7e0f
commit
ef1077fd7b
|
@ -911,7 +911,7 @@ namespace Kernel
|
|||
for_each_process(
|
||||
[&](Process& process)
|
||||
{
|
||||
if (pid == process.pid() || -pid == process.pid())
|
||||
if (pid == process.pid() || -pid == process.pgrp())
|
||||
{
|
||||
found = true;
|
||||
if (signal)
|
||||
|
|
Loading…
Reference in New Issue