summaryrefslogtreecommitdiffstats
path: root/src/exec.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-02 11:54:03 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-11-06 10:16:08 -0500
commit95fbde17a66377b6fbe7ff1f014301dbbf09270d (patch)
tree5a98afd0242afc959a0317c52ab842d8e45030ad /src/exec.c
parentad1b36291fe87ca9d647980e3afdc71344d66519 (diff)
downloadbfs-95fbde17a66377b6fbe7ff1f014301dbbf09270d.tar.xz
xspawn: Wrap the real posix_spawn() if possible
Fixes #47.
Diffstat (limited to 'src/exec.c')
-rw-r--r--src/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exec.c b/src/exec.c
index a3297e8..e3f7b97 100644
--- a/src/exec.c
+++ b/src/exec.c
@@ -363,7 +363,7 @@ static int bfs_exec_spawn(const struct bfs_exec *execbuf) {
return -1;
}
- if (bfs_spawn_setflags(&spawn, BFS_SPAWN_USEPATH) != 0) {
+ if (bfs_spawn_setflags(&spawn, BFS_SPAWN_USE_PATH) != 0) {
goto fail;
}