1
mirror of https://github.com/topjohnwu/Magisk synced 2024-11-13 20:54:12 +01:00

get_flags need before find_boot_image

This commit is contained in:
vvb2060 2019-04-05 05:13:57 +08:00 committed by John Wu
parent 6953cc2411
commit a4f5d47e72

View File

@ -44,11 +44,11 @@ ui_print "************************"
is_mounted /data || mount /data || is_mounted /cache || mount /cache || abort "! Unable to mount partitions"
mount_partitions
find_boot_image
check_data
get_flags
find_boot_image
[ -z $BOOTIMAGE ] && abort "! Unable to detect target image"
ui_print "- Target image: $BOOTIMAGE"