summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index f49598ede4..63cd0fd424 100644
--- a/process.c
+++ b/process.c
@@ -3003,10 +3003,10 @@ rb_fork(int *status, int (*chfunc)(void*), void *charg, VALUE fds)
struct chfunc_wrapper_t warg;
warg.chfunc = chfunc;
warg.arg = charg;
- return rb_fork_err(status, chfunc_wrapper, &warg, fds, NULL, 0);
+ return rb_fork_internal(status, chfunc_wrapper, &warg, FALSE, fds, NULL, 0);
}
else {
- return rb_fork_err(status, NULL, NULL, fds, NULL, 0);
+ return rb_fork_internal(status, NULL, NULL, FALSE, fds, NULL, 0);
}
}