diff options
| author | Christopher Uhlig | 2025-01-14 20:21:31 +0100 |
|---|---|---|
| committer | Christopher Uhlig | 2025-01-14 20:21:31 +0100 |
| commit | ed75abf31c8e1f576df566ccf36bc7cf8b0e7ec5 (patch) | |
| tree | 60b1e8e36a7146400033e0593df63805441cb2a9 /src/main.c | |
| parent | 430521cc47e9f47fbd1005fade9251c31d9f3f18 (diff) | |
| download | minishell-ed75abf31c8e1f576df566ccf36bc7cf8b0e7ec5.tar.gz minishell-ed75abf31c8e1f576df566ccf36bc7cf8b0e7ec5.zip | |
fixe ? added a export return maybe ussles
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -6,7 +6,7 @@ /* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/22 17:14:03 by dkaiser #+# #+# */ -/* Updated: 2025/01/14 15:29:20 by chuhlig ### ########.fr */ +/* Updated: 2025/01/14 18:41:15 by chuhlig ### ########.fr */ /* */ /* ************************************************************************** */ @@ -24,8 +24,7 @@ int main(int argc, char *argv[], char *envp[]) if (init()) return (1); getenvlst(&env, envp); - - set_return_code(0, &env); + set_return_code(0, &env); repl("Minishell $ ", &env, &promptflag); free_envlst(&env); return (0); |
