fixed mistake in rules_command.c
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/24 18:52:05 by lperrey #+# #+# */
|
||||
/* Updated: 2021/12/20 21:11:14 by lperrey ### ########.fr */
|
||||
/* Updated: 2021/12/20 23:56:09 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -67,7 +67,7 @@ int valid_command_rule5(t_token **token_list)
|
||||
{
|
||||
while (valid_io_redirect(token_list))
|
||||
continue ;
|
||||
if (valid_command_separator(*token_list))
|
||||
if (!valid_command_separator(*token_list))
|
||||
return (0);
|
||||
return (1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user