Skip to content

Commit

Permalink
post finished project fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptiste Renaudon authored and Baptiste Renaudon committed Jan 21, 2023
1 parent a1a7ddc commit 0bee911
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions minishell.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ void event_loop(void)

int main(int argc, char **argv, char **envp)
{
int exit_ret;
char **t;

(void)argc;
Expand All @@ -90,5 +91,7 @@ int main(int argc, char **argv, char **envp)
get_sum(t, &(g_glob->minishell_sum), NULL, NULL);
free_tab(t);
event_loop();
exit_ret = g_glob->exit_ret;
final_clean_up();
return (exit_ret);
}

0 comments on commit 0bee911

Please sign in to comment.