Jour 83: Armand essaye de trouver des bugs sur mes builtins parfait, j'ai envie de lui casser le cul avec ma teube de 32cm mais je me retiens

This commit is contained in:
Etienne Rey-bethbeder 2023-03-31 15:04:28 +02:00
parent 94f55af0be
commit 4dc8793eec

View File

@ -6,7 +6,7 @@
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */ /* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/20 14:27:36 by erey-bet #+# #+# */ /* Created: 2023/02/20 14:27:36 by erey-bet #+# #+# */
/* Updated: 2023/03/30 15:04:09 by erey-bet ### ########.fr */ /* Updated: 2023/03/31 15:02:43 by erey-bet ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -32,7 +32,7 @@ int move_folder(char **args, int fd)
{ {
char *path; char *path;
if (args[1] != NULL || args[0] == NULL) if (args[0] == NULL || args[1] != NULL)
{ {
write(2, "cd: Wrong number's argument\n", 28); write(2, "cd: Wrong number's argument\n", 28);
return (1); return (1);