diff options
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r-- | lib/drmtest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c index 3cec956e..2660af72 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -1080,7 +1080,8 @@ void igt_stop_helper(struct igt_helper_process *proc) assert(proc->running); - assert(kill(proc->pid, SIGQUIT) == 0); + assert(kill(proc->pid, + proc->use_SIGKILL ? SIGKILL : SIGQUIT) == 0); while (waitpid(proc->pid, &status, 0) == -1 && errno == -EINTR) ; |