fix: small errors in exec and parser
This commit is contained in:
parent
fde653ac5d
commit
e1291107d4
3 changed files with 5 additions and 4 deletions
|
|
@ -123,7 +123,7 @@ static int get_fd_target(const struct ast_redir *redir)
|
|||
if (redir->io_number != -1)
|
||||
return redir->io_number;
|
||||
if (redir->type == AST_REDIR_TYPE_LESS
|
||||
|| redir->type == AST_REDIR_TYPE_DLESS
|
||||
|| redir->type == AST_REDIR_TYPE_LESSGREAT
|
||||
|| redir->type == AST_REDIR_TYPE_LESSAND)
|
||||
return 0;
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue