fix: error print
This commit is contained in:
parent
011c801f1d
commit
a941a0138f
@ -6,7 +6,7 @@
|
|||||||
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/02/21 13:00:05 by cchauvet #+# #+# */
|
/* Created: 2023/02/21 13:00:05 by cchauvet #+# #+# */
|
||||||
/* Updated: 2023/03/28 16:37:29 by cchauvet ### ########.fr */
|
/* Updated: 2023/03/30 12:45:18 by cchauvet ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ static int ft_pipe_is_alone(const char *str)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (check == 0)
|
if (check == 0)
|
||||||
ft_eprintf("minishell: Pipe must be followed and ",
|
ft_eprintf("minishell: Pipe must be followed and %s",
|
||||||
"preced by a command or redirection\n");
|
"preced by a command or redirection\n");
|
||||||
return (check == 0);
|
return (check == 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user