summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-30 18:36:31 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-30 18:36:31 +0200
commit40b5a588c89890ea83d0e4fcaa9f3fdf539cb064 (patch)
tree0d9bfa007aa3838ad4c9a57ac98153236cb6584a /src
parentSHLVL boyy (diff)
download42-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
Diffstat (limited to 'src')
-rw-r--r--src/m_minishell.c3
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);