summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/execline/pipeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/execline/pipeline.c b/src/execline/pipeline.c
index 42a230b..ca5ef0f 100644
--- a/src/execline/pipeline.c
+++ b/src/execline/pipeline.c
@@ -66,6 +66,7 @@ int main (int argc, char const **argv, char const *const *envp)
if (!pid) strerr_diefu2sys(111, "spawn ", argv[0]) ;
}
if (fd_move(w, fd) < 0) strerr_diefu1sys(111, "fd_move") ;
+ if (w == fd) uncoe(fd) ;
{
#ifdef EXECLINE_OLD_VARNAMES
char fmt[UINT64_FMT * 2 + 10] = "!=" ;