mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-03-15 03:16:51 +01:00
「🔨」 fix(builtins/exit): possible fds issues fixed
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/15 12:28:36 by adjoly #+# #+# */
|
||||
/* Updated: 2024/07/15 16:22:12 by mmoussou ### ########.fr */
|
||||
/* Updated: 2024/07/16 12:33:43 by mmoussou ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -17,7 +17,7 @@ void free_exit(t_env *env, char **env_array)
|
||||
{
|
||||
int i;
|
||||
|
||||
i = 3;
|
||||
i = 0;
|
||||
while (i < 1024)
|
||||
{
|
||||
close(i);
|
||||
|
Reference in New Issue
Block a user