diff options
author | Tao Bao <tbao@google.com> | 2015-06-03 20:36:16 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-06-03 20:36:16 +0200 |
commit | 5393149d53785cc8a690b93ca4f0db490d216937 (patch) | |
tree | 453a397c8efa9f42307fd4fd5f681466d7fc20ed /updater | |
parent | am 02b64725: Merge "uncrypt: Write status when it reboots to factory reset" into mnc-dev (diff) | |
parent | am a69e608a: Merge "Log update outputs in order" (diff) | |
download | android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar.gz android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar.bz2 android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar.lz android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar.xz android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar.zst android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.zip |
Diffstat (limited to 'updater')
-rw-r--r-- | updater/install.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/updater/install.c b/updater/install.c index 01a5dd24b..da6b57782 100644 --- a/updater/install.c +++ b/updater/install.c @@ -61,6 +61,12 @@ void uiPrint(State* state, char* buffer) { line = strtok(NULL, "\n"); } fprintf(ui->cmd_pipe, "ui_print\n"); + + // The recovery will only print the contents to screen for pipe command + // ui_print. We need to dump the contents to stderr (which has been + // redirected to the log file) directly. + fprintf(stderr, buffer); + fprintf(stderr, "\n"); } __attribute__((__format__(printf, 2, 3))) __nonnull((2)) |