diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-10-08 17:06:15 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-10-08 17:06:15 +0200 |
| commit | 6e61e60e3daeac766f88fcc2febef186d16559aa (patch) | |
| tree | a4bf9107436ea303bc518f9ad738b1bebe0a5297 /src/eval | |
| parent | fb4d6bd7e93328b3eb684fc390b91800da313564 (diff) | |
| download | minishell-6e61e60e3daeac766f88fcc2febef186d16559aa.tar.gz minishell-6e61e60e3daeac766f88fcc2febef186d16559aa.tar.bz2 minishell-6e61e60e3daeac766f88fcc2febef186d16559aa.zip | |
Fixing input not fully eaten syntax error, Added basename in prompt
Diffstat (limited to 'src/eval')
| -rw-r--r-- | src/eval/operation.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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) |
