From 91862e618e4d722ce3e683430ed61f4479b04948 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Thu, 4 Apr 2013 23:48:21 +0000 Subject: Fix handling of subpartitions --- twrp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'twrp.cpp') 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"); -- cgit v1.2.3