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

Commit fe01885c authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Improve "adb install"'s error message slightly.

We still don't really have a clue what went wrong, but "Failed to write"
made it sound like we did.

Change-Id: Ic58b13202e2d8ea6b095f7046db9d0771d77ce65
parent b6dfab03
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1860,8 +1860,7 @@ static int install_app(TransportType transport, const char* serial, int argc, co
    adb_close(remoteFd);

    if (strncmp("Success", buf, 7)) {
        fprintf(stderr, "Failed to write %s\n", file);
        fputs(buf, stderr);
        fprintf(stderr, "Failed to install %s: %s", file, buf);
        return 1;
    }
    fputs(buf, stderr);