commit | 576f21d3e88e840ad9d9810afaed2f2ffb36339d | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Jan 22 01:37:13 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jan 22 01:37:13 2020 +0000 |
tree | 044d23b99986d5517e5c6ecefe9f3e50cac3aadb | |
parent | d16858db0e89a57b782a554b1c4b388e04ca6ac9 [diff] | |
parent | 883ec44ae75275f8f6f676571ba67002fa6ecf5f [diff] |
Merge "adb: windows: fix adb execute root cmd with no tips"
diff --git a/adb/client/commandline.cpp b/adb/client/commandline.cpp index 83b9238..a6d7e31 100644 --- a/adb/client/commandline.cpp +++ b/adb/client/commandline.cpp
@@ -1125,8 +1125,8 @@ return false; } + fwrite(buf, 1, sizeof(buf) - bytes_left, stdout); fflush(stdout); - WriteFdExactly(STDOUT_FILENO, buf, sizeof(buf) - bytes_left); if (cur != buf && strstr(buf, "restarting") == nullptr) { return true; }