mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Fix compile error (oops)
This commit is contained in:
parent
a62f300753
commit
00d3e18780
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ static int handle_child_io( io_data_t *io )
|
|||
return -1;
|
||||
}
|
||||
|
||||
if( write_pipe )
|
||||
if( write_pipe_idx > 0 )
|
||||
{
|
||||
exec_close( io->param1.pipe_fd[0]);
|
||||
exec_close( io->param1.pipe_fd[1]);
|
||||
|
|
Loading…
Reference in a new issue