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() {
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;