ntm
This commit is contained in:
		@ -6,7 +6,7 @@
 | 
				
			|||||||
/*   By: erey-bet <marvin@42.fr>                    +#+  +:+       +#+        */
 | 
					/*   By: erey-bet <marvin@42.fr>                    +#+  +:+       +#+        */
 | 
				
			||||||
/*                                                +#+#+#+#+#+   +#+           */
 | 
					/*                                                +#+#+#+#+#+   +#+           */
 | 
				
			||||||
/*   Created: 2023/02/24 10:17:59 by erey-bet          #+#    #+#             */
 | 
					/*   Created: 2023/02/24 10:17:59 by erey-bet          #+#    #+#             */
 | 
				
			||||||
/*   Updated: 2023/04/05 12:16:37 by erey-bet         ###   ########.fr       */
 | 
					/*   Updated: 2023/04/05 12:21:18 by erey-bet         ###   ########.fr       */
 | 
				
			||||||
/*                                                                            */
 | 
					/*                                                                            */
 | 
				
			||||||
/* ************************************************************************** */
 | 
					/* ************************************************************************** */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -26,8 +26,6 @@ static int	error(int err, char *reason, char *problem)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
int	ft_exit(char **args, int err)
 | 
					int	ft_exit(char **args, int err)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	int	err;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	if (args[0] == NULL)
 | 
						if (args[0] == NULL)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		write(1, "exit\n", 6);
 | 
							write(1, "exit\n", 6);
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user