Merge "adb: Fix return value in error case" am: 2925a580e9 am: 73308830a6

am: 507be15cf8

Change-Id: I2e8d88291ee2f26fda59607eb64e8d6accf69968
This commit is contained in:
Greg Kaiser 2019-03-18 14:46:27 -07:00 committed by android-build-merger
commit 446f4655cb

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);