Fix comment of signalAllProcesses for process wait due to sigkill

Signed-off-by: Walt Chen <godsarmycy@gmail.com>
This commit is contained in:
Walt Chen
2022-09-26 17:59:42 +08:00
committed by Kir Kolyshkin
parent df2043af5d
commit 18f8f482b1
+2 -1
View File
@@ -522,7 +522,8 @@ func isWaitable(pid int) (bool, error) {
// signalAllProcesses freezes then iterates over all the processes inside the
// manager's cgroups sending the signal s to them.
// If s is SIGKILL then it will wait for each process to exit.
// If s is SIGKILL and subreaper is not enabled then it will wait for each
// process to exit.
// For all other signals it will check if the process is ready to report its
// exit status and only if it is will a wait be performed.
func signalAllProcesses(m cgroups.Manager, s os.Signal) error {