Merge "adb: Fix return value in error case"
am: 2925a580e9
Change-Id: I6fa794d11212e77650f6ffcfd7ee2e80092a9e0a
This commit is contained in:
commit
73308830a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue