Merge "adb: Fix return value in error case" am: 2925a580e9
am: 73308830a6
am: 507be15cf8
Change-Id: I2e8d88291ee2f26fda59607eb64e8d6accf69968
This commit is contained in:
commit
446f4655cb
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…
Reference in a new issue