mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-03-15 11:26:51 +01:00
「🔨」 fix(builtins/ft_exit): printf(exitn)
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/07/14 13:46:57 by adjoly #+# #+# */
|
/* Created: 2024/07/14 13:46:57 by adjoly #+# #+# */
|
||||||
/* Updated: 2024/07/15 16:07:11 by mmoussou ### ########.fr */
|
/* Updated: 2024/07/15 16:22:22 by mmoussou ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@ -50,6 +50,7 @@ void exit_args_handler(char **argv, int ac, char **env_array, t_env *env)
|
|||||||
|
|
||||||
void ft_exit(char **argv, int ac, char **env_array, t_env *env)
|
void ft_exit(char **argv, int ac, char **env_array, t_env *env)
|
||||||
{
|
{
|
||||||
|
printf("exit\n");
|
||||||
if (ac < 2)
|
if (ac < 2)
|
||||||
{
|
{
|
||||||
free_exit(env, env_array);
|
free_exit(env, env_array);
|
||||||
|
Reference in New Issue
Block a user