summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index bc01808..431fcbe 100644
--- a/exec.c
+++ b/exec.c
@@ -374,7 +374,7 @@ static int bfs_exec_spawn(const struct bfs_exec *execbuf) {
}
}
- pid = bfs_spawn(execbuf->argv[0], &ctx, execbuf->argv, environ);
+ pid = bfs_spawn(execbuf->argv[0], &ctx, execbuf->argv, NULL);
fail:
error = errno;
bfs_spawn_destroy(&ctx);