Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stress-ng: don't kill entire group or pid 1 (init)
Ensure invalid PIDs are not killed. This can occur if we're spawning lots of stressors and SIGINT is sent before all the stressors are stared, leaving uninitialized -1 pids being killed, causing the entire group session to be killed. Fix this. Signed-off-by: Colin Ian King <[email protected]>
- Loading branch information