diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_e_lcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_e_lcom.c b/src/ft_e_lcom.c index c499e05..af1b88e 100644 --- a/src/ft_e_lcom.c +++ b/src/ft_e_lcom.c @@ -66,7 +66,7 @@ uint8_t dup2(fd, STDOUT_FILENO); close(fd); } - else if (ptr->redir == 2) + if (ptr->redir == 2) { if ((fd = open(ptr->rdrpath, O_CREAT | O_APPEND | O_WRONLY, 0644))) |