Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2925a580 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "adb: Fix return value in error case"

parents e2d977bf 5fe40a66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);