diff --git a/redirection/check.c b/redirection/check.c index 449bce4..543cd87 100644 --- a/redirection/check.c +++ b/redirection/check.c @@ -6,7 +6,7 @@ /* By: cchauvet ", redirection[0])) + if (ft_is_in("<>", redirection_identifier[0]) && ft_is_in("<>", redirection[0])) { ft_eprintf("minishell: %s: invalid redirection file\n", redirection); return (1);