Skip to content

Commit

Permalink
get_flags need before find_boot_image
Browse files Browse the repository at this point in the history
  • Loading branch information
vvb2060 authored and topjohnwu committed Apr 5, 2019
1 parent 6953cc2 commit a4f5d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/flash_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit a4f5d47

Please sign in to comment.