remove_system_su only on recovery mode

We may mount su to /system/bin/su
This commit is contained in:
vvb2060 2020-12-09 19:58:38 +08:00 committed by topjohnwu
parent 984f32f994
commit 17efdff134

View File

@ -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