Backend: fix showing ui_printfile padding char in error when booted

This commit is contained in:
osm0sis committed 2023-03-23 17:05:57 -03:00
1 parent 7c8c1e7e9b
commit 7a3e6df8ca
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ ui_print() {
} }
ui_printfile() { ui_printfile() {
local line losrpad; 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 while IFS='' read -r line || $BB [[ -n "$line" ]]; do
ui_print "$losrpad$line"; ui_print "$losrpad$line";
done < $1; done < $1;
+1 -1
View File
@@ -3,4 +3,4 @@
# Dummy file; update-binary is a shell script (DO NOT CHANGE) # Dummy file; update-binary is a shell script (DO NOT CHANGE)
# #
# #
# AK_BASE_VERSION=20230316 # AK_BASE_VERSION=20230323