fix: exit code

This commit is contained in:
Camille Chauvet
2023-03-22 16:07:27 +01:00
parent b3d060874d
commit 22dc9776d6
4 changed files with 4 additions and 2 deletions

View File

@ -102,8 +102,9 @@ static int ft_empty_verif(const char *str)
int ft_syntax_verif(t_data *data, const char *str)
{
if (ft_empty_verif(str))
return (1);
if (ft_quote_verif(str)
|| ft_empty_verif(str)
|| ft_pipe_is_alone(str)
|| ft_special_char_dub(str))
{