Fix modules installation error

This commit is contained in:
topjohnwu 2018-06-03 17:00:42 +08:00
parent b3cd83bbca
commit 274efb49e7

View File

@ -375,6 +375,7 @@ mount_magisk_img() {
fi
ui_print "- Mounting $IMG to $MOUNTPATH"
mkdir -p $MOUNTPATH 2>/dev/null
MAGISKLOOP=`$MAGISKBIN/magisk --mountimg $IMG $MOUNTPATH`
is_mounted $MOUNTPATH || abort "! $IMG mount failed..."
}