fix: signal

This commit is contained in:
Camille Chauvet
2023-04-05 15:32:04 +00:00
parent e0fb7f1fd0
commit 5d482fc65a
16 changed files with 68 additions and 97 deletions

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/21 13:00:05 by cchauvet #+# #+# */
/* Updated: 2023/03/30 15:58:39 by cchauvet ### ########.fr */
/* Updated: 2023/04/05 15:11:16 by alouis-j ### ########.fr */
/* */
/* ************************************************************************** */
@ -99,7 +99,7 @@ int ft_syntax_verif(t_data *data, const char *str)
|| ft_pipe_is_alone(str)
|| ft_special_char_dub(str))
{
data->exit_code = 2;
*data->exit_code = 2;
return (1);
}
return (0);