diff options
Diffstat (limited to 'src/m_minishell.c')
-rw-r--r-- | src/m_minishell.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/m_minishell.c b/src/m_minishell.c index 6cd1f61..e5ec69e 100644 --- a/src/m_minishell.c +++ b/src/m_minishell.c @@ -32,11 +32,11 @@ int main(int argc, char *const argv[], char *const envp[]) ft_dprintf(STDERR_FILENO, "%s\n", strerror(errno)); return (M_RET_ALLOC); } - if (!isatty(STDIN_FILENO) || !isatty(STDOUT_FILENO)) - { - ft_dprintf(STDERR_FILENO, "minishell: innapropriate ioctl device.\n"); - exit(1); - } + /* if (!isatty(STDIN_FILENO) || !isatty(STDOUT_FILENO)) */ + /* { */ + /* ft_dprintf(STDERR_FILENO, "minishell: innapropriate ioctl device.\n"); */ + /* exit(1); */ + /* } */ ret = m_argv(argc, argv, msh); s_destroy(msh); return (ret); |