Skip to content

Commit

Permalink
Backend: fix showing ui_printfile padding char in error when booted
Browse files Browse the repository at this point in the history
  • Loading branch information
osm0sis committed Mar 23, 2023
1 parent 7c8c1e7 commit 7a3e6df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion META-INF/com/google/android/update-binary
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ui_print() {
}
ui_printfile() {
local line losrpad;
[ -e /twres ] || losrpad='| '; # work around LOS Recovery eating leading whitespace
$BOOTMODE || [ -e /twres ] || losrpad='| '; # work around LOS Recovery eating leading whitespace
while IFS='' read -r line || $BB [[ -n "$line" ]]; do
ui_print "$losrpad$line";
done < $1;
Expand Down
2 changes: 1 addition & 1 deletion META-INF/com/google/android/updater-script
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Dummy file; update-binary is a shell script (DO NOT CHANGE)
#
#
# AK_BASE_VERSION=20230316
# AK_BASE_VERSION=20230323

0 comments on commit 7a3e6df

Please sign in to comment.