merging luke remote with origin local

This commit is contained in:
hugogogo
2021-11-02 13:56:26 +01:00
26 changed files with 548 additions and 312 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/04 05:59:26 by lperrey #+# #+# */
/* Updated: 2021/10/28 15:12:04 by hulamy ### ########.fr */
/* Updated: 2021/11/02 13:49:26 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -19,8 +19,11 @@ int main(int argc, char *argv[], char *envp[])
(void)argc;
(void)argv;
if (!init(&c, envp))
exit(EXIT_FAILURE);
shell_loop(&c);
free_exit(&c, EXIT_FAILURE);
if (isatty(STDIN_FILENO))
shell_loop(&c);
else
shell_script(&c);
return (0);
}