diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2016-12-10 16:04:41 +0100 |
---|---|---|
committer | Dees Troy <dees_troy@teamw.in> | 2016-12-13 21:26:57 +0100 |
commit | ff2b7881c96c81d510481b92982d099e9101dbec (patch) | |
tree | 756d577a0784f8b6caa4b1f2e8f54daaa57dfdf6 /twrp.cpp | |
parent | Support backup/restore of FBE policies (diff) | |
download | android_bootable_recovery-ff2b7881c96c81d510481b92982d099e9101dbec.tar android_bootable_recovery-ff2b7881c96c81d510481b92982d099e9101dbec.tar.gz android_bootable_recovery-ff2b7881c96c81d510481b92982d099e9101dbec.tar.bz2 android_bootable_recovery-ff2b7881c96c81d510481b92982d099e9101dbec.tar.lz android_bootable_recovery-ff2b7881c96c81d510481b92982d099e9101dbec.tar.xz android_bootable_recovery-ff2b7881c96c81d510481b92982d099e9101dbec.tar.zst android_bootable_recovery-ff2b7881c96c81d510481b92982d099e9101dbec.zip |
Diffstat (limited to '')
-rw-r--r-- | twrp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -153,7 +153,7 @@ int main(int argc, char **argv) { { // Check to ensure SELinux can be supported by the kernel char *contexts = NULL; - if (PartitionManager.Mount_By_Path("/cache", true) && TWFunc::Path_Exists("/cache/recovery")) { + if (PartitionManager.Mount_By_Path("/cache", false) && TWFunc::Path_Exists("/cache/recovery")) { lgetfilecon("/cache/recovery", &contexts); if (!contexts) { lsetfilecon("/cache/recovery", "test"); @@ -174,7 +174,7 @@ int main(int argc, char **argv) { gui_warn("no_selinux=No SELinux support (no libselinux)."); #endif - PartitionManager.Mount_By_Path("/cache", true); + PartitionManager.Mount_By_Path("/cache", false); bool Shutdown = false, Sideload = false; string Send_Intent = ""; |