mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-23 18:15:30 +00:00
parent
397c1a1c2b
commit
85dc669ddf
@ -304,7 +304,7 @@ case $1 in
|
||||
if [ `cat /proc/mounts | grep $MOUNTPOINT >/dev/null 2>&1; echo $?` -ne 0 ]; then
|
||||
loopsetup $IMG
|
||||
if [ ! -z "$LOOPDEVICE" ]; then
|
||||
mount -t ext4 -o rw,noatime $LOOPDEVICE $MOUNTPOINT
|
||||
mount -t ext4 -o rw,noatime,suid $LOOPDEVICE $MOUNTPOINT
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -336,7 +336,7 @@ case $1 in
|
||||
fi
|
||||
loopsetup $IMG
|
||||
if [ ! -z "$LOOPDEVICE" ]; then
|
||||
mount -t ext4 -o rw,noatime $LOOPDEVICE $MOUNTPOINT
|
||||
mount -t ext4 -o rw,noatime,suid $LOOPDEVICE $MOUNTPOINT
|
||||
fi
|
||||
if [ `cat /proc/mounts | grep $MOUNTPOINT >/dev/null 2>&1; echo $?` -ne 0 ]; then
|
||||
log_print "magisk.img mount failed, nothing to do :("
|
||||
|
Loading…
Reference in New Issue
Block a user