diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-09-11 15:05:20 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-09-11 15:05:20 +0200 |
commit | 661f252f7e3ccb8fe936f2582d234408b8bb4764 (patch) | |
tree | 95b94b3de0090fa3f4a183f72075c41f549c7adb /lib/drmtest.c | |
parent | 9fb316a6db16cd8cddba719d7acbdf068f9238ee (diff) |
lib/drmtest: don't frob signals in __igt_fork_helper
We shut up the exit handlers already by clearing the array.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r-- | lib/drmtest.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c index f2590d746..0d4aa5561 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -992,7 +992,6 @@ bool __igt_fork_helper(struct igt_helper_process *proc) igt_install_exit_handler(fork_helper_exit_handler); - oldsig = signal(SIGQUIT, SIG_DFL); switch (pid = fork()) { case -1: igt_assert(0); @@ -1002,7 +1001,6 @@ bool __igt_fork_helper(struct igt_helper_process *proc) return true; default: - signal(SIGQUIT, oldsig); proc->running = true; proc->pid = pid; proc->id = id; |