This commit is contained in:
2024-03-28 14:44:58 +01:00
parent db934be785
commit d07a954adf
18 changed files with 182 additions and 115 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/05 18:20:21 by marde-vr #+# #+# */
/* Updated: 2024/03/27 16:25:53 by tomoron ### ########.fr */
/* Updated: 2024/03/28 13:28:19 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -37,7 +37,7 @@ int cmd_is_builtin(t_msh *msh, char *cmd_token)
}
else if (!ft_strcmp(cmd_token, "export"))
{
if (!(msh->in_type == PIPE || msh->out_type == PIPE))
if (!(/*msh->in_type == PIPE || msh->out_type == PIPE*/ 0))
g_return_code = ft_export(msh);
return (1);
}