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

Commit 356fd364 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix the sense of a test in "adb sideload".

Change-Id: I516a2ad2d74d9322ff9eb2e4cd3c3829e5cbda99
parent 4824e794
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -889,7 +889,7 @@ static int adb_sideload_host(const char* fn) {
            android::base::StringPrintf("sideload-host:%d:%d", sz, SIDELOAD_HOST_BLOCK_SIZE);
    std::string error;
    unique_fd fd(adb_connect(service, &error));
    if (fd >= 0) {
    if (fd < 0) {
        // Try falling back to the older sideload method.  Maybe this
        // is an older device that doesn't support sideload-host.
        printf("\n");