Compare commits
No commits in common. "1e00fee53c592ea2ef5acb6f5f8abc674cfbe626" and "f66ab7790eee38e65fb83a5f47699ed38f6e62bf" have entirely different histories.
1e00fee53c
...
f66ab7790e
@ -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/31 15:02:43 by erey-bet ### ########.fr */
|
/* Updated: 2023/03/30 15:04:09 by erey-bet ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ int move_folder(char **args, int fd)
|
|||||||
{
|
{
|
||||||
char *path;
|
char *path;
|
||||||
|
|
||||||
if (args[0] == NULL || args[1] != NULL)
|
if (args[1] != NULL || args[0] == NULL)
|
||||||
{
|
{
|
||||||
write(2, "cd: Wrong number's argument\n", 28);
|
write(2, "cd: Wrong number's argument\n", 28);
|
||||||
return (1);
|
return (1);
|
||||||
|
Loading…
Reference in New Issue
Block a user