Commit a02836e5 authored by abenoit's avatar abenoit
Browse files

^C final fix

parent fcba368b
......@@ -31,7 +31,7 @@ static int exec_parent_end(pid_t *pid, t_xe *xe)
ft_putstr_fd("\b\b^\\Quit (core dumped)\n", STDERR_FILENO);
else if (xe->stat_loc == SIGINT)
if (!(xe->flags & EXEC_PIPE))
if (xe->flags & CHILD)
signal(SIGINT, SIG_DFL);
kill(getpid(), SIGINT);
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