diff --git a/app/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt b/app/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt index 0abe51e02..5f683fbf3 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt @@ -324,11 +324,7 @@ abstract class MagiskInstallImpl protected constructor( // Fix up binaries srcBoot.delete() - if (shell.isRoot) { - "fix_env $installDir".sh() - } else { - "cp_readlink $installDir".sh() - } + "cp_readlink $installDir".sh() return true }