summaryrefslogtreecommitdiffstats
path: root/src/e_pipes_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-28 01:26:44 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-28 01:26:44 +0100
commitf6faf88cd0991be3184af67d5fa271b12f70e925 (patch)
tree02c283541fd2c0b4ccacd31172cccf2ba9711c51 /src/e_pipes_next.c
parentNorming in progress (diff)
download42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.gz
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.bz2
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.xz
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.zst
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.zip
Norming
Diffstat (limited to 'src/e_pipes_next.c')
-rw-r--r--src/e_pipes_next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/e_pipes_next.c b/src/e_pipes_next.c
index 6cca414..93eb42e 100644
--- a/src/e_pipes_next.c
+++ b/src/e_pipes_next.c
@@ -41,7 +41,7 @@ static void e_fullpath_not_found(t_com *ptr, t_msh *msh)
static void e_exec_child(const char fullpath[], t_com *ptr, t_msh *msh)
{
char buff[7];
- int fd;
+ int fd;
if ((fd = open(fullpath, O_RDONLY)) != -1)
{