diff options
author | Doug Zongker <dougz@android.com> | 2013-07-09 12:29:45 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2013-07-09 12:50:24 -0700 |
commit | fafc85b4ad7a5679c6b562bed64460732e05fd1e (patch) | |
tree | 830eb6f87a91e587eac04fa306206d70260ff6c2 /install.cpp | |
parent | 602c4ebd393845f3388aea6ecb0c620580a7f332 (diff) | |
download | bootable_recovery-fafc85b4ad7a5679c6b562bed64460732e05fd1e.zip bootable_recovery-fafc85b4ad7a5679c6b562bed64460732e05fd1e.tar.gz bootable_recovery-fafc85b4ad7a5679c6b562bed64460732e05fd1e.tar.bz2 |
recovery: move log output to stdout
Recovery currently has a random mix of messages printed to stdout and
messages printed to stderr, which can make logs hard to read. Move
everything to stdout.
Change-Id: Ie33bd4a9e1272e731302569cdec918e0534c48a6
Diffstat (limited to 'install.cpp')
-rw-r--r-- | install.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install.cpp b/install.cpp index 0cb5cc7..e1ab848 100644 --- a/install.cpp +++ b/install.cpp @@ -154,6 +154,7 @@ try_update_binary(const char *path, ZipArchive *zip, int* wipe_cache) { } else { ui->Print("\n"); } + fflush(stdout); } else if (strcmp(command, "wipe_cache") == 0) { *wipe_cache = 1; } else if (strcmp(command, "clear_display") == 0) { |