summaryrefslogtreecommitdiffstats
path: root/openrecoveryscript.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-01-28 21:03:33 +0100
committerDees Troy <dees_troy@teamw.in>2016-01-29 21:58:33 +0100
commitb5fab76bea98dff8d0825d16c3dd359397449e9a (patch)
treea92cf2c085a22c8f246543f558619edd5fd3367e /openrecoveryscript.cpp
parentadds TW_ADDITIONAL_RES to TW_RES (diff)
downloadandroid_bootable_recovery-b5fab76bea98dff8d0825d16c3dd359397449e9a.tar
android_bootable_recovery-b5fab76bea98dff8d0825d16c3dd359397449e9a.tar.gz
android_bootable_recovery-b5fab76bea98dff8d0825d16c3dd359397449e9a.tar.bz2
android_bootable_recovery-b5fab76bea98dff8d0825d16c3dd359397449e9a.tar.lz
android_bootable_recovery-b5fab76bea98dff8d0825d16c3dd359397449e9a.tar.xz
android_bootable_recovery-b5fab76bea98dff8d0825d16c3dd359397449e9a.tar.zst
android_bootable_recovery-b5fab76bea98dff8d0825d16c3dd359397449e9a.zip
Diffstat (limited to '')
-rw-r--r--openrecoveryscript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp
index d66e16f7e..e974f9d20 100644
--- a/openrecoveryscript.cpp
+++ b/openrecoveryscript.cpp
@@ -381,8 +381,8 @@ int OpenRecoveryScript::run_script_file(void) {
}
property_set("ctl.start", "adbd");
gui_msg("done=Done.");
- } else if (strcmp(command, "fixperms") == 0 || strcmp(command, "fixpermissions") == 0) {
- ret_val = PartitionManager.Fix_Permissions();
+ } else if (strcmp(command, "fixperms") == 0 || strcmp(command, "fixpermissions") == 0 || strcmp(command, "fixcontexts") == 0) {
+ ret_val = PartitionManager.Fix_Contexts();
if (ret_val != 0)
ret_val = 1; // failure
} else if (strcmp(command, "decrypt") == 0) {