summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-12-12 16:26:00 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-12-12 16:26:00 +0100
commitdb4ed588c635d7d834607f8becc74462ee396183 (patch)
treeb7e97b6ee79303016d81a7403ad84017917a9076
parentUpdate (diff)
download42-minishell-db4ed588c635d7d834607f8becc74462ee396183.tar.gz
42-minishell-db4ed588c635d7d834607f8becc74462ee396183.tar.bz2
42-minishell-db4ed588c635d7d834607f8becc74462ee396183.tar.xz
42-minishell-db4ed588c635d7d834607f8becc74462ee396183.tar.zst
42-minishell-db4ed588c635d7d834607f8becc74462ee396183.zip
Removed bloatcode
-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);