Merge "Dup the correct fd for qemu pipe."
This commit is contained in:
commit
10fdfeb7b8
1 changed files with 1 additions and 1 deletions
|
|
@ -865,7 +865,7 @@ int Logcat::Run(int argc, char** argv) {
|
|||
}
|
||||
}
|
||||
// close output and error channels, replace with console
|
||||
dup2(fd, STDOUT_FILENO);
|
||||
dup2(fd, output_fd_.get());
|
||||
dup2(fd, STDERR_FILENO);
|
||||
close(fd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue