diff options
author | joe <rbousset@42lyon.fr> | 2020-11-25 13:23:10 +0100 |
---|---|---|
committer | joe <rbousset@42lyon.fr> | 2020-11-25 13:38:34 +0100 |
commit | a531dbf791b990e1b6a772a5ff0b927d6dc72ed9 (patch) | |
tree | 6549573f56d158502254e3467dfb9556b412040b /src/m_minishell.c | |
parent | TODO update (diff) | |
download | 42-minishell-a531dbf791b990e1b6a772a5ff0b927d6dc72ed9.tar.gz 42-minishell-a531dbf791b990e1b6a772a5ff0b927d6dc72ed9.tar.bz2 42-minishell-a531dbf791b990e1b6a772a5ff0b927d6dc72ed9.tar.xz 42-minishell-a531dbf791b990e1b6a772a5ff0b927d6dc72ed9.tar.zst 42-minishell-a531dbf791b990e1b6a772a5ff0b927d6dc72ed9.zip |
Cleaner
Diffstat (limited to '')
-rw-r--r-- | src/m_minishell.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |