Commit 6f433342 authored by abenoit's avatar abenoit
Browse files

ambig redir set stat_loc

parent a36328d9
......@@ -138,6 +138,7 @@ int handle_execution(t_xe *xe, int fd_in, int proc)
return (FAILURE);
dup2(xe->backup_stdout, STDOUT_FILENO);
dup2(xe->backup_stdin, STDIN_FILENO);
xe->stat_loc = 1;
xe->flags = RUN;
return (handle_execution(xe, fd_in, proc));
}
......
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