From 6bc672c4dc56f8b741e4357c70eb17670121d5a9 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 28 Jun 2022 11:53:57 +0200 Subject: Make sure to exactly match the passed variant when using --variant --- src/restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/restore.c') diff --git a/src/restore.c b/src/restore.c index 61edad4..7f7e903 100644 --- a/src/restore.c +++ b/src/restore.c @@ -3261,7 +3261,7 @@ plist_t restore_get_build_identity(struct idevicerestore_client_t* client, uint8 plist_t build_identity = build_manifest_get_build_identity_for_model_with_variant( client->build_manifest, client->device->hardware_model, - variant); + variant, 0); plist_t unique_id_node = plist_dict_get_item(client->build_manifest, "UniqueBuildID"); debug_plist(unique_id_node); -- cgit v1.1-32-gdbae