diff --git a/scripts/util_functions.sh b/scripts/util_functions.sh index e8f499ee1..7545e4087 100644 --- a/scripts/util_functions.sh +++ b/scripts/util_functions.sh @@ -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..." }