1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

Kernel: Use IteratorDecision in Process::for_each_in_pgrp()

This commit is contained in:
Andreas Kling 2019-08-22 21:12:55 +02:00
parent 748b38d80f
commit 06de0e670c
3 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ void TTY::generate_signal(int signal)
Process::for_each_in_pgrp(pgid(), [&](auto& process) {
dbgprintf("%s: Send signal %d to %d\n", tty_name().characters(), signal, process.pid());
process.send_signal(signal, nullptr);
return true;
return IterationDecision::Continue;
});
}