Compare commits
2 Commits
f66ab7790e
...
1e00fee53c
Author | SHA1 | Date | |
---|---|---|---|
|
1e00fee53c | ||
|
4dc8793eec |
@ -6,7 +6,7 @@
|
||||
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* 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;
|
||||
|
||||
if (args[1] != NULL || args[0] == NULL)
|
||||
if (args[0] == NULL || args[1] != NULL)
|
||||
{
|
||||
write(2, "cd: Wrong number's argument\n", 28);
|
||||
return (1);
|
||||
|
Loading…
Reference in New Issue
Block a user