minishell: exit with last command exit status

This commit is contained in:
Khaïs COLIN 2025-04-04 15:50:07 +02:00
parent 67b2347df9
commit cb8f64367d
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo

View file

@ -6,7 +6,7 @@
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */ /* By: khais <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/06 13:44:06 by kcolin #+# #+# */ /* Created: 2025/02/06 13:44:06 by kcolin #+# #+# */
/* Updated: 2025/04/15 11:52:20 by khais ### ########.fr */ /* Updated: 2025/04/15 11:53:29 by khais ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -96,8 +96,8 @@ int main(int argc, char *argv[], char **envp)
/* ft_printf("\n"); */ /* ft_printf("\n"); */
/* g_signum = -1; */ /* g_signum = -1; */
/* } */ /* } */
/* line = get_command(); */ /* line = get_command(); */
/* } */ /* } */
/* env_destroy(app.env); */ /* env_destroy(app.env); */
/* return (0); */ /* return (app.last_return_value); */
/* } */ /* } */