fix: Makefile bon ok c ma faute j;avais oublié un flag comme un bozo
This commit is contained in:
parent
876c75bb92
commit
15c95b45b1
Binary file not shown.
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ NAME = minishell
|
|||||||
|
|
||||||
CC = clang
|
CC = clang
|
||||||
|
|
||||||
CFLAGS = -Werror -Wextra -g
|
CFLAGS = -Werror -Wextra -Wall -g
|
||||||
|
|
||||||
LIBS = libftx/libftx.a
|
LIBS = libftx/libftx.a
|
||||||
|
|
||||||
|
@ -77,6 +77,7 @@ static int ft_executor(t_data *data, t_cmd *cmd)
|
|||||||
int return_value;
|
int return_value;
|
||||||
char **tab;
|
char **tab;
|
||||||
|
|
||||||
|
return_value = -1;
|
||||||
if (cmd->fd_in == -1 || cmd->fd_out == -1)
|
if (cmd->fd_in == -1 || cmd->fd_out == -1)
|
||||||
return (1);
|
return (1);
|
||||||
pid = fork();
|
pid = fork();
|
||||||
|
Loading…
Reference in New Issue
Block a user