aboutsummaryrefslogtreecommitdiff
path: root/src/parse_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse_cmd.c')
-rw-r--r--src/parse_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse_cmd.c b/src/parse_cmd.c
index 3c4eb96..9ca741b 100644
--- a/src/parse_cmd.c
+++ b/src/parse_cmd.c
@@ -6,7 +6,7 @@
/* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/08 15:06:25 by dkaiser #+# #+# */
-/* Updated: 2025/01/11 16:04:50 by chuhlig ### ########.fr */
+/* Updated: 2025/01/15 17:22:58 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -19,7 +19,7 @@ t_node *parse_cmd(t_token *tokens, t_env **env)
char **args;
t_redirection *redirs;
- redirs = collect_redirs(&tokens);
+ redirs = collect_redirs(&tokens, *env);
if (redirs == NULL)
return (NULL);
args = collect_args(&tokens, env);