diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/process/posix_spawn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/process/posix_spawn.c b/src/process/posix_spawn.c index ae262f7e..af127317 100644 --- a/src/process/posix_spawn.c +++ b/src/process/posix_spawn.c @@ -102,8 +102,7 @@ static int child(void *args_vp) } switch(op->cmd) { case FDOP_CLOSE: - if ((ret=__syscall(SYS_close, op->fd))) - goto fail; + __syscall(SYS_close, op->fd); break; case FDOP_DUP2: if ((ret=__sys_dup2(op->srcfd, op->fd))<0) |