diff --git a/.nfs00000000098c85f700000036 b/.nfs00000000098c85f700000036 new file mode 100755 index 0000000..75b9d45 Binary files /dev/null and b/.nfs00000000098c85f700000036 differ diff --git a/execution.c b/execution.c index 53eb881..bb5d7d7 100644 --- a/execution.c +++ b/execution.c @@ -6,7 +6,7 @@ /* By: cchauvet args[0], cmd->fd_out)); /* if (ft_strcmp(cmd->executable, "unset") == 0) */ /* return_code = (unset(env, cmd->args, cmd->fd_out)); */ - /* else if (ft_strcmp(cmd->executable, "echo") == 0) */ - /* return_code = (echo(cmd->fd_out, cmd->args + 1)); */ + else if (ft_strcmp(cmd->executable, "echo") == 0) + return_code = (echo(cmd->fd_out, cmd->args + 1)); else if (ft_strcmp(cmd->executable, "exit") == 0) return_code = -2; if (return_code != -1)