From db4ed588c635d7d834607f8becc74462ee396183 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 12 Dec 2020 16:26:00 +0100 Subject: Removed bloatcode --- src/m_minishell.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/m_minishell.c b/src/m_minishell.c index e5ec69e..987cfc0 100644 --- a/src/m_minishell.c +++ b/src/m_minishell.c @@ -32,11 +32,6 @@ 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); */ - /* } */ ret = m_argv(argc, argv, msh); s_destroy(msh); return (ret); -- cgit v1.2.3