summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-03-28 07:49:29 +0200
committerDaiki Ueno <ueno@gnu.org>2018-03-29 11:25:11 +0200
commit007023002811469ae3982a0cfcd9a73aed762ad1 (patch)
tree29a3a0759baa7484a1420a08ffc9fb95b24dce0a /p11-kit
parent294c0efda49a623f47eb3c459bb5ed812ebc757c (diff)
test: Use _exit() in child process to immediately close open FDs
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/test-proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/test-proxy.c b/p11-kit/test-proxy.c
index 54c6d4a..c34415b 100644
--- a/p11-kit/test-proxy.c
+++ b/p11-kit/test-proxy.c
@@ -171,7 +171,7 @@ test_initialize_child (void)
rv = proxy->C_Finalize (NULL);
assert_num_eq (rv, CKR_OK);
- exit(0);
+ _exit (0);
}
assert (pid != -1);
waitpid(pid, &st, 0);