summaryrefslogtreecommitdiffstats
path: root/src/s_init_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-12-18 16:04:14 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-12-18 16:04:14 +0100
commit7629736298b29ad5be833c11d338ab3abe236917 (patch)
tree8c4161357ae75109bcc7b8bf38bcd8b985ea3774 /src/s_init_next.c
parentMerge (diff)
parentPush (diff)
download42-minishell-7629736298b29ad5be833c11d338ab3abe236917.tar.gz
42-minishell-7629736298b29ad5be833c11d338ab3abe236917.tar.bz2
42-minishell-7629736298b29ad5be833c11d338ab3abe236917.tar.xz
42-minishell-7629736298b29ad5be833c11d338ab3abe236917.tar.zst
42-minishell-7629736298b29ad5be833c11d338ab3abe236917.zip
Merged branch 'gnu-compat'
Diffstat (limited to 'src/s_init_next.c')
-rw-r--r--src/s_init_next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_init_next.c b/src/s_init_next.c
index a013611..6ee17d4 100644
--- a/src/s_init_next.c
+++ b/src/s_init_next.c
@@ -109,7 +109,7 @@ char **s_dupenv(char *const envp[])
i++;
}
if (s_cpy_path(ptr, nenvp, &i) == 1)
- return (s_dupenv_del(nenvp, i));
+ return (s_dupenv_del(nenvp, i));
nenvp[i] = NULL;
return (nenvp);
}