diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/process/posix_spawn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/process/posix_spawn.c b/src/process/posix_spawn.c index 68cf795c..c6886526 100644 --- a/src/process/posix_spawn.c +++ b/src/process/posix_spawn.c @@ -105,6 +105,7 @@ static int child(void *args_vp) ? &attr->__mask : &args->oldmask, 0); args->exec(args->path, args->argv, args->envp); + ret = -errno; fail: /* Since sizeof errno < PIPE_BUF, the write is atomic. */ |