diff options
Diffstat (limited to 'src/libstddjb/child_spawn1_internal.c')
-rw-r--r-- | src/libstddjb/child_spawn1_internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/child_spawn1_internal.c b/src/libstddjb/child_spawn1_internal.c index 38a6e60..0f9cb16 100644 --- a/src/libstddjb/child_spawn1_internal.c +++ b/src/libstddjb/child_spawn1_internal.c @@ -103,7 +103,7 @@ pid_t child_spawn1_internal (char const *prog, char const *const *argv, char con if ((to & 2) && (fd_copy(!(to & 1), to & 1) < 0)) goto err ; sig_blocknone() ; pathexec_run(prog, argv, envp) ; -err: + err: e = errno ; fd_write(syncp[1], (char *)&e, sizeof(e)) ; _exit(127) ; |