summaryrefslogtreecommitdiffstats
path: root/twrp.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-04-05 01:48:21 +0200
committerDees_Troy <dees_troy@teamw.in>2013-04-05 01:48:21 +0200
commit91862e618e4d722ce3e683430ed61f4479b04948 (patch)
tree366f8cf1419b4f01649d5e0f875736d6b613968a /twrp.cpp
parentAdd new SliderValue GUI widget (diff)
downloadandroid_bootable_recovery-91862e618e4d722ce3e683430ed61f4479b04948.tar
android_bootable_recovery-91862e618e4d722ce3e683430ed61f4479b04948.tar.gz
android_bootable_recovery-91862e618e4d722ce3e683430ed61f4479b04948.tar.bz2
android_bootable_recovery-91862e618e4d722ce3e683430ed61f4479b04948.tar.lz
android_bootable_recovery-91862e618e4d722ce3e683430ed61f4479b04948.tar.xz
android_bootable_recovery-91862e618e4d722ce3e683430ed61f4479b04948.tar.zst
android_bootable_recovery-91862e618e4d722ce3e683430ed61f4479b04948.zip
Diffstat (limited to '')
-rw-r--r--twrp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/twrp.cpp b/twrp.cpp
index 938a07adf..9825ebf52 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -127,7 +127,7 @@ int main(int argc, char **argv) {
char twrp_booted[PROPERTY_VALUE_MAX];
property_get("ro.twrp.boot", twrp_booted, "0");
- if (strcmp(twrp_booted, "0") != 0) {
+ if (strcmp(twrp_booted, "0") == 0) {
property_list(Print_Prop, NULL);
printf("\n");
property_set("ro.twrp.boot", "1");