bugfix, pipeline must continue if expand_redirection() fail
+ ft_perror_io() delete
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/11/16 01:57:38 by lperrey #+# #+# */
|
||||
/* Updated: 2021/12/05 16:20:55 by lperrey ### ########.fr */
|
||||
/* Updated: 2021/12/11 20:37:43 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -103,7 +103,7 @@ static int handle_access_error(char *file_name)
|
||||
int tmp;
|
||||
|
||||
tmp = errno;
|
||||
ft_perror_io("minishell: ", file_name);
|
||||
shell_perror(file_name, "", "", 0);
|
||||
errno = tmp;
|
||||
if (errno == EACCES)
|
||||
return (EXIT_CMD_NOT_FOUND);
|
||||
|
||||
Reference in New Issue
Block a user