bozo_exit
This commit is contained in:
parent
f93fed5cdd
commit
8a245f0dd8
@ -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:24:04 by erey-bet ### ########.fr */
|
/* Updated: 2023/04/05 12:30:46 by erey-bet ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ int ft_exit(char **args, int err)
|
|||||||
{
|
{
|
||||||
if (args[0] == NULL)
|
if (args[0] == NULL)
|
||||||
{
|
{
|
||||||
write(1, "bozo_exit\n", 6);
|
write(1, "bozo_exit\n", 10);
|
||||||
return (err);
|
return (err);
|
||||||
}
|
}
|
||||||
err = ft_atoi_check(args[0]);
|
err = ft_atoi_check(args[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user