summaryrefslogtreecommitdiffstats
path: root/src/m_minishell.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-12-18 15:28:28 +0100
committersalad <fmoenne-@student.le-101.fr>2020-12-18 15:28:28 +0100
commit40676b37c8320ae708ec4303af0ea2a649ec74d7 (patch)
treee72bcb83ef67f138c2539e6bc8fade62276bbc3b /src/m_minishell.c
parentnomergethislol (diff)
download42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.gz
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.bz2
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.xz
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.zst
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.zip
spammingnormcommits
Diffstat (limited to 'src/m_minishell.c')
-rw-r--r--src/m_minishell.c5
1 files changed, 0 insertions, 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);