diff options
author | Tao Bao <tbao@google.com> | 2015-06-03 18:28:46 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-06-03 18:28:46 +0200 |
commit | d107e6dc104dfb6e5043cedaf348f354f7cd46cc (patch) | |
tree | a94ee0f95bb444b33f5e18e6e393f053e4e6f5b3 /updater/install.c | |
parent | am 1441a965: Merge "Really don\'t use TEMP_FAILURE_RETRY with close in recovery." (diff) | |
parent | Merge "Log update outputs in order" (diff) | |
download | android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar.gz android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar.bz2 android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar.lz android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar.xz android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar.zst android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.zip |
Diffstat (limited to '')
-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)) |