Commit 84e82549 authored by abenoit's avatar abenoit
Browse files

exit details

parent 812ef0ba
......@@ -38,7 +38,7 @@ int clean_and_exit(int err_code, t_xe *xe)
ret = 1;
ft_putstr_fd("minishell takes no argument\n", STDERR_FILENO);
}
else if (err_code == SUCCESS && !(xe->flags &EXIT_FLAGS))
else if (err_code == SUCCESS && !(xe->flags & EXIT_FLAG))
ret = EXIT_SUCCESS;
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment