From 6e61e60e3daeac766f88fcc2febef186d16559aa Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 8 Oct 2020 17:06:15 +0200 Subject: Fixing input not fully eaten syntax error, Added basename in prompt --- src/eval/operation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/eval/operation.c') diff --git a/src/eval/operation.c b/src/eval/operation.c index 1620be2..cb7de34 100644 --- a/src/eval/operation.c +++ b/src/eval/operation.c @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/06/17 15:27:22 by charles #+# #+# */ -/* Updated: 2020/10/07 15:08:11 by cacharle ### ########.fr */ +/* Updated: 2020/10/08 16:59:42 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -88,7 +88,7 @@ int eval_pipeline(int fds[2], t_env env, t_ast *ast) g_child_pid = pid; close(p[FD_READ]); - int status = 0; + /* int status = 0; */ waitpid(pid, &pid, 0); while (wait(NULL) != -1) -- cgit