summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/idevicerestore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 40c7d5c..96ba67a 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -1954,8 +1954,8 @@ plist_t build_manifest_get_build_identity_for_model_with_variant(plist_t build_m
}
str = plist_get_string_ptr(rvariant, NULL);
if (strcmp(str, variant) != 0) {
- /* if it's not a full match, let's try a partial match */
- if (strstr(str, variant)) {
+ /* if it's not a full match, let's try a partial match, but ignore "*Research*" */
+ if (strstr(str, variant) && !strstr(str, "Research")) {
return ident;
}
continue;