From a531dbf791b990e1b6a772a5ff0b927d6dc72ed9 Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 25 Nov 2020 13:23:10 +0100 Subject: Cleaner --- src/m_minishell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/m_minishell.c') diff --git a/src/m_minishell.c b/src/m_minishell.c index a3226fe..6cd1f61 100644 --- a/src/m_minishell.c +++ b/src/m_minishell.c @@ -34,7 +34,7 @@ int main(int argc, char *const argv[], char *const envp[]) } if (!isatty(STDIN_FILENO) || !isatty(STDOUT_FILENO)) { - ft_dprintf(2, "minishell: innapropriate ioctl device."); + ft_dprintf(STDERR_FILENO, "minishell: innapropriate ioctl device.\n"); exit(1); } ret = m_argv(argc, argv, msh); -- cgit v1.2.3