Merge branch 'parser' into dev

This commit is contained in:
Jean 2026-01-28 21:28:14 +01:00
commit 0d425aa44c
6 changed files with 124 additions and 67 deletions

View file

@ -121,7 +121,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;