commit | 91862e618e4d722ce3e683430ed61f4479b04948 | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Thu Apr 04 23:48:21 2013 +0000 |
committer | Dees_Troy <dees_troy@teamw.in> | Thu Apr 04 23:48:21 2013 +0000 |
tree | 366f8cf1419b4f01649d5e0f875736d6b613968a | |
parent | 85932344cd9a84d8586b4f9839855c730c8e8ebc [diff] [blame] |
Fix handling of subpartitions
diff --git a/twrp.cpp b/twrp.cpp index 938a07a..9825ebf 100644 --- a/twrp.cpp +++ b/twrp.cpp
@@ -127,7 +127,7 @@ 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");