Merge "adb: windows: fix adb execute root cmd with no tips"
This commit is contained in:
commit
02f535f582
1 changed files with 1 additions and 1 deletions
|
@ -1125,8 +1125,8 @@ static bool adb_root(const char* command) {
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue