diff options
author | Stef Walter <stefw@redhat.com> | 2014-10-02 08:22:39 +0200 |
---|---|---|
committer | Stef Walter <stefw@redhat.com> | 2014-10-02 08:24:44 +0200 |
commit | c9474683dd3db5ad87227dd3c3734ab31bfc01e9 (patch) | |
tree | 1841120941d45f5f9b522edb3b5ac7c2610d85ed /common | |
parent | d3505c2b556b859e1a14062579fd67ec2ab25435 (diff) |
common: In tests preserve parent environment for children
Diffstat (limited to 'common')
-rw-r--r-- | common/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/test.c b/common/test.c index 289b35b..5a1cf72 100644 --- a/common/test.c +++ b/common/test.c @@ -532,7 +532,7 @@ p11_test_run_child (const char **argv, if (child == 0) { if (quiet_out) close (1); /* stdout */ - execve (argv[0], (char **)argv, NULL); + execv (argv[0], (char **)argv); assert_not_reached (); } |