summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-22 16:27:11 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-22 16:27:11 +0200
commitb0892e3d5d15f655432afd8a3b05dc4e848012d2 (patch)
tree9bcac6a478e54669e982c8ed911a38517e0878ac
parentFix (diff)
download42-minishell-b0892e3d5d15f655432afd8a3b05dc4e848012d2.tar.gz
42-minishell-b0892e3d5d15f655432afd8a3b05dc4e848012d2.tar.bz2
42-minishell-b0892e3d5d15f655432afd8a3b05dc4e848012d2.tar.xz
42-minishell-b0892e3d5d15f655432afd8a3b05dc4e848012d2.tar.zst
42-minishell-b0892e3d5d15f655432afd8a3b05dc4e848012d2.zip
Format
-rw-r--r--src/m_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index 718b23e..0be77a2 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -43,7 +43,7 @@ static void m_parse_and_run_line(char line[], uint8_t previf, t_msh *msh)
while (ptr != NULL)
{
if ((previf == 0) || (previf == 1 && msh->ret == 0)
- || (previf == 2 && msh->ret != 0))
+ || (previf == 2 && msh->ret != 0))
{
if (p_find_good_pipe(ptr->lblock) == TRUE
&& (s_split_pipes(ptr->lblock, msh)) == NULL)