mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
minishell: exit with last command exit status
This commit is contained in:
parent
67b2347df9
commit
cb8f64367d
1 changed files with 5 additions and 5 deletions
|
|
@ -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); */
|
||||||
/* } */
|
/* } */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue