diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-30 18:36:31 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-30 18:36:31 +0200 |
commit | 40b5a588c89890ea83d0e4fcaa9f3fdf539cb064 (patch) | |
tree | 0d9bfa007aa3838ad4c9a57ac98153236cb6584a | |
parent | SHLVL boyy (diff) | |
download | 42-minishell-40b5a588c89890ea83d0e4fcaa9f3fdf539cb064.tar.gz 42-minishell-40b5a588c89890ea83d0e4fcaa9f3fdf539cb064.tar.bz2 42-minishell-40b5a588c89890ea83d0e4fcaa9f3fdf539cb064.tar.xz 42-minishell-40b5a588c89890ea83d0e4fcaa9f3fdf539cb064.tar.zst 42-minishell-40b5a588c89890ea83d0e4fcaa9f3fdf539cb064.zip |
Norm update
-rw-r--r-- | src/m_minishell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/m_minishell.c b/src/m_minishell.c index c5901db..8a76598 100644 --- a/src/m_minishell.c +++ b/src/m_minishell.c @@ -41,7 +41,8 @@ int ft_dprintf(2, "%s\n", strerror(errno)); return (FT_RET_ALLOC); } - u_subst_var_value("$SHLVL", str = ft_itoa(ft_atoi(u_get_var_value("$SHLVL", msh)) + 1), msh); + u_subst_var_value("$SHLVL", + str = ft_itoa(ft_atoi(u_get_var_value("$SHLVL", msh)) + 1), msh); ft_memdel((void*)&str); ret = m_argv(argc, argv, msh); s_destroy(msh); |