diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-12-12 16:26:00 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-12-12 16:26:00 +0100 |
commit | db4ed588c635d7d834607f8becc74462ee396183 (patch) | |
tree | b7e97b6ee79303016d81a7403ad84017917a9076 | |
parent | Update (diff) | |
download | 42-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.c | 5 |
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); |