mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +00:00
remove_system_su only on recovery mode
We may mount su to /system/bin/su
This commit is contained in:
parent
984f32f994
commit
17efdff134
@ -61,7 +61,7 @@ BINDIR=$INSTALLER/$ARCH32
|
||||
chmod -R 755 $CHROMEDIR $BINDIR
|
||||
|
||||
# Check if system root is installed and remove
|
||||
remove_system_su
|
||||
$BOOTMODE || remove_system_su
|
||||
|
||||
##############
|
||||
# Environment
|
||||
|
Loading…
Reference in New Issue
Block a user