diff options
| author | Dominik Kaiser | 2025-01-20 18:41:55 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-01-20 18:41:55 +0100 |
| commit | 4e249399780b53dad6fa1bf6db8a7c6d32ee2d13 (patch) | |
| tree | 21ec55386702455222d320cbf270f3c2065ccc3a /src/repl.c | |
| parent | eceed405102e019b1f001751de60f5534be0a0ef (diff) | |
| download | minishell-4e249399780b53dad6fa1bf6db8a7c6d32ee2d13.tar.gz minishell-4e249399780b53dad6fa1bf6db8a7c6d32ee2d13.zip | |
I love the norme sooooooooooo much!!!!
Diffstat (limited to 'src/repl.c')
| -rw-r--r-- | src/repl.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -6,7 +6,7 @@ /* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/24 16:07:04 by dkaiser #+# #+# */ -/* Updated: 2025/01/20 12:45:00 by chuhlig ### ########.fr */ +/* Updated: 2025/01/20 17:58:43 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ @@ -23,7 +23,7 @@ void repl(const char *prompt, t_env **env, int *promptflag) while (1) { input = readline(prompt); - if (input == NULL) + if (input == NULL) { if (*promptflag > 1) (*promptflag)--; @@ -41,5 +41,3 @@ void repl(const char *prompt, t_env **env, int *promptflag) free(input); } } - -//echo hi | >./outfiles/outfile01 echo bye >./test_files/invalid_permission
\ No newline at end of file |
