summaryrefslogtreecommitdiffstats
path: root/twrp.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--twrp.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/twrp.cpp b/twrp.cpp
index f76ab641d..24a56f18b 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -346,10 +346,6 @@ int main(int argc, char **argv) {
if (gui_startPage("installsu") != 0) {
LOGERR("Failed to start SuperSU install page.\n");
}
- } else if (TWFunc::Check_su_Perms() > 0) {
- // su perms are set incorrectly
- LOGINFO("Root permissions appear to be lost... fixing. (This will always happen on 4.3+ ROMs with SELinux.\n");
- TWFunc::Fix_su_Perms();
}
sync();
PartitionManager.UnMount_By_Path("/system", false);