diff options
Diffstat (limited to 'process.c')
| -rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2874,8 +2874,8 @@ rb_fork_err(int *status, int (*chfunc)(void*, char *, size_t), void *charg, VALU rb_io_close(io); if (state || size) { if (status) { - *status = state; rb_protect(proc_syswait, (VALUE)pid, status); + if (state) *status = state; } else { rb_syswait(pid); |
