fixed argv open().
previously wrongly dup2() to STDIN.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/08 02:35:52 by lperrey #+# #+# */
|
||||
/* Updated: 2021/12/20 17:24:45 by lperrey ### ########.fr */
|
||||
/* Updated: 2021/12/20 22:13:45 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -42,6 +42,7 @@ typedef struct s_all
|
||||
char *prompt_base;
|
||||
char *prompt;
|
||||
t_token *token_list;
|
||||
int script_fd;
|
||||
} t_all;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user