commit | 02f535f5825be62d5d5d9d4d1843732d42b75acb | [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 | 8db23af93b408ef3a4af6e3175ee9e800f5a4f95 [diff] | |
parent | 1ffccf5c8ba412216fa959c70399e3723b268142 [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; }