summaryrefslogtreecommitdiffstats
path: root/src/e_unshebanged.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 19:44:25 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 19:44:25 +0200
commitbbbd573c5595d41413cd74393f0539f56b9e9dfc (patch)
tree8218d359f065311ad58a4c69d7644aff7019110f /src/e_unshebanged.c
parentClang (diff)
download42-minishell-bbbd573c5595d41413cd74393f0539f56b9e9dfc.tar.gz
42-minishell-bbbd573c5595d41413cd74393f0539f56b9e9dfc.tar.bz2
42-minishell-bbbd573c5595d41413cd74393f0539f56b9e9dfc.tar.xz
42-minishell-bbbd573c5595d41413cd74393f0539f56b9e9dfc.tar.zst
42-minishell-bbbd573c5595d41413cd74393f0539f56b9e9dfc.zip
Norm update
Diffstat (limited to '')
-rw-r--r--src/e_unshebanged.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/e_unshebanged.c b/src/e_unshebanged.c
index 1e4e33c..fabba8a 100644
--- a/src/e_unshebanged.c
+++ b/src/e_unshebanged.c
@@ -64,7 +64,7 @@ void e_extern_read_script(const char fullpath[],
char **argv;
argv = e_get_new_argv(fullpath, ptr, msh);
- if (execve(msh->argv[0], (char* const *)argv, msh->envp) == -1)
+ if (execve(msh->argv[0], (char *const *)argv, msh->envp) == -1)
{
f_exec(msh->argv[0], argv[0]);
ft_delwords(argv);