Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 151fec40 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "liblogcat: redirect logcat output correctly for -Q"

parents a20c678d f9dbdbc5
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -1231,8 +1231,11 @@ static int __logcat(android_logcat_context_internal* context) {
                    android::close_error(context);
                    android::close_error(context);
                    context->stderr_stdout = true;
                    context->stderr_stdout = true;
                    context->output = fp;
                    context->output = fp;
                    context->error = context->output;
                    context->output_fd = fileno(fp);
                    if (context->stderr_null) context->error = NULL;
                    if (context->stderr_null) break;
                    context->stderr_stdout = true;
                    context->error = fp;
                    context->error_fd = fileno(fp);
                }
                }
                break;
                break;