diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-03-28 07:49:29 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2018-03-29 11:25:11 +0200 |
commit | 007023002811469ae3982a0cfcd9a73aed762ad1 (patch) | |
tree | 29a3a0759baa7484a1420a08ffc9fb95b24dce0a /p11-kit | |
parent | 294c0efda49a623f47eb3c459bb5ed812ebc757c (diff) |
test: Use _exit() in child process to immediately close open FDs
Diffstat (limited to 'p11-kit')
-rw-r--r-- | p11-kit/test-proxy.c | 2 |
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); |