Merge "adb: Fix return value in error case"

This commit is contained in:
Treehugger Robot 2019-03-18 20:32:46 +00:00 committed by Gerrit Code Review
commit 2925a580e9
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ static bool __adb_check_server_version(std::string* error) {
if (fd >= 0) {
std::string version_string;
if (!ReadProtocolString(fd, &version_string, error)) {
return -1;
return false;
}
ReadOrderlyShutdown(fd);