mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
exec.cpp:exec: Don't remove block_io elements from j->io
When dulicate_prepend prepend copies of block_io elements to j->io, the removing simply does nothing. Now that the same pointers are prepended to j->io, don't remove them.
This commit is contained in:
parent
b2abd963f0
commit
ff49792f44
1 changed files with 0 additions and 5 deletions
5
exec.cpp
5
exec.cpp
|
@ -1394,11 +1394,6 @@ void exec(parser_t &parser, job_t *j)
|
|||
|
||||
io_remove(j->io, &pipe_read);
|
||||
|
||||
for (io_chain_t::const_iterator iter = parser.block_io.begin(); iter != parser.block_io.end(); iter++)
|
||||
{
|
||||
io_remove(j->io, *iter);
|
||||
}
|
||||
|
||||
job_set_flag(j, JOB_CONSTRUCTED, 1);
|
||||
|
||||
if (!job_get_flag(j, JOB_FOREGROUND))
|
||||
|
|
Loading…
Reference in a new issue