fixed some minor issues

This commit is contained in:
mdev9
2024-04-26 13:27:27 +02:00
parent 6310a99dcb
commit 7b5df4fa3a
4 changed files with 8 additions and 14 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/24 17:44:32 by marde-vr #+# #+# */
/* Updated: 2024/04/26 11:06:25 by tomoron ### ########.fr */
/* Updated: 2024/04/26 13:15:24 by marde-vr ### ########.fr */
/* */
/* ************************************************************************** */
@ -61,7 +61,7 @@ void here_doc_signal(t_msh *msh, int child_pid, char *here_doc_file)
if (WIFEXITED(status) && WEXITSTATUS(status))
{
unlink(here_doc_file);
msh->in_fd = -1;
msh->in_fd = -2;
g_return_code = 130;
return ;
}