Fix reqSizeM check in mount_magisk_img function

This commit is contained in:
Ivan Kutepov 2019-01-15 05:58:18 +03:00 committed by John Wu
parent d366dfc72b
commit 6ea42a35a9

View File

@ -405,7 +405,7 @@ mount_snippet() {
} }
mount_magisk_img() { mount_magisk_img() {
[ -z reqSizeM ] && reqSizeM=0 [ -z $reqSizeM ] && reqSizeM=0
mkdir -p $MOUNTPATH 2>/dev/null mkdir -p $MOUNTPATH 2>/dev/null
if [ -f "$IMG" ]; then if [ -f "$IMG" ]; then
ui_print "- Found $IMG" ui_print "- Found $IMG"