AK3+Backend: mount and output fixes

- fix case where TWRP has /system_root mountpoint but ROM is non-SAR
- fix regression in ui_print when final character is \
This commit is contained in:
osm0sis committed 2020-01-31 20:11:52 -04:00
1 parent ebd2b04b2c
commit e666adc66f
2 files changed
+9 -3

No files matched your search

+2 -1
View File
@@ -15,7 +15,8 @@ split_img=$home/split_img;
# ui_print "<text>" [...]
ui_print() {
until [ ! "$1" ]; do
echo -e "ui_print $1\nui_print" > /proc/self/fd/$OUTFD;
echo -e "ui_print $1
ui_print" > /proc/self/fd/$OUTFD;
shift;
done;
}